From 3d8040fd2fed98ece467a542728864ef68ae59ef Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 19 Jul 2015 18:31:51 +0200 Subject: reproducible openwrt: move options to common variable and add IGNORE_ERRORS=1 again --- bin/reproducible_openwrt.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh index 4daa4c3d..621ee73e 100755 --- a/bin/reproducible_openwrt.sh +++ b/bin/reproducible_openwrt.sh @@ -68,21 +68,23 @@ openwrt_build() { RUN=$1 TARGET=$2 + OPTIONS="-j $NUM_CPU IGNORE_ERRORS=1" + echo "=============================================================================" echo "$(date -u) - Building OpenWrt ${OPENWRT_VERSION} ($TARGET) - $RUN build run." echo "=============================================================================" ionice -c 3 nice \ - $MAKE -j $NUM_CPU target/compile + $MAKE $OPTIONS target/compile ionice -c 3 nice \ - $MAKE -j $NUM_CPU package/cleanup + $MAKE $OPTIONS package/cleanup ionice -c 3 nice \ - $MAKE -j $NUM_CPU package/compile || true # don't let some packages fail the whole build + $MAKE $OPTIONS package/compile || true # don't let some packages fail the whole build ionice -c 3 nice \ - $MAKE -j $NUM_CPU package/install + $MAKE $OPTIONS package/install ionice -c 3 nice \ - $MAKE -j $NUM_CPU target/install + $MAKE $OPTIONS target/install ionice -c 3 nice \ - $MAKE -j $NUM_CPU package/index || true # don't let some packages fail the whole build + $MAKE $OPTIONS package/index || true # don't let some packages fail the whole build } openwrt_cleanup() { -- cgit v1.2.3-70-g09d2