summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_openwrt.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index b51f3cc1..bdd4f594 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -47,7 +47,6 @@ openwrt_config() {
CONFIG=$1
printf "$CONFIG" > .config
- printf "CONFIG_ALL=y" >> .config
make defconfig
}
@@ -72,7 +71,17 @@ openwrt_build() {
echo "$(date -u) - Building OpenWrt ${OPENWRT_VERSION} ($TARGET) - $RUN build run."
echo "============================================================================="
ionice -c 3 nice \
- $MAKE -j $NUM_CPU IGNORE_ERRORS=1
+ $MAKE -j $NUM_CPU target/compile
+ ionice -c 3 nice \
+ $MAKE -j $NUM_CPU package/cleanup
+ ionice -c 3 nice \
+ $MAKE -j $NUM_CPU package/compile || true # don't let some packages fail the whole build
+ ionice -c 3 nice \
+ $MAKE -j $NUM_CPU package/install
+ ionice -c 3 nice \
+ $MAKE -j $NUM_CPU target/install
+ ionice -c 3 nice \
+ $MAKE -j $NUM_CPU package/index
}
openwrt_cleanup() {