mirror of https://github.com/mirror/busybox.git
change layout to support dir changes
parent
fd84403612
commit
1c9ed2543d
5
build.sh
5
build.sh
|
@ -22,8 +22,9 @@ for i in "${!TARGETNAMELIST[@]}"; do
|
|||
make ARCH=${TARGETNAMELIST[i]} CROSS_COMPILE=${TARGETPREFIXLIST[i]}- CFLAGS="${TARGETFLAGSLIST[i]}" SKIP_STRIP="${SKIP_STRIP}"
|
||||
|
||||
# copy the unstripped version if the stripped version doesn't exist
|
||||
mv busybox $OUTDIR/busybox.${TARGETPREFIXLIST[i]} \
|
||||
|| mv busybox_unstripped $OUTDIR/busybox.${TARGETPREFIXLIST[i]}
|
||||
mkdir -p $OUTDIR/${TARGETNAMELIST[i]}
|
||||
mv busybox $OUTDIR/${TARGETNAMELIST[i]}/busybox \
|
||||
|| mv busybox_unstripped $OUTDIR/${TARGETNAMELIST[i]}/busybox
|
||||
|
||||
# busybox doesn't have any way to configure build artifact location,
|
||||
# so we need to clean up when we're done in case the next arch's build
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
docker run --rm -v $PWD:/app -w /app ghcr.io/panda-re/embedded-toolchains:latest /app/build.sh
|
||||
docker run --rm -v $PWD:/app -w /app ghcr.io/rehosting/embedded-toolchains:latest /app/build.sh
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
docker run --rm -v $PWD:/app -w /app ghcr.io/panda-re/embedded-toolchains:latest "/app/clean.sh"
|
||||
docker run --rm -v $PWD:/app -w /app ghcr.io/rehosting/embedded-toolchains:latest "/app/clean.sh"
|
||||
|
|
Loading…
Reference in New Issue