change layout to support dir changes

pull/95/head
Caden Kline 2024-11-13 11:54:38 -05:00
parent fd84403612
commit 1c9ed2543d
4 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -2,4 +2,4 @@
OUTDIR=build
make clean
rm -f $OUTDIR/*
rm -rf $OUTDIR/*

View File

@ -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

View File

@ -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"