summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_openwrt.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index c953e5bd..33d627a7 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -117,6 +117,11 @@ echo "==========================================================================
echo "$(date -u) - Building the toolchain."
echo "============================================================================="
make defconfig
+# Replace default target with a specific one
+sed 's/CONFIG_TARGET_ar71xx_generic_Default=y/# CONFIG_TARGET_ar71xx_generic_Default is not set/g' -i .config
+sed 's/# CONFIG_TARGET_ar71xx_generic_ARCHERC7 is not set/CONFIG_TARGET_ar71xx_generic_ARCHERC7=y/g' -i .config
+make oldconfig
+
ionice -c 3 nice \
make -j $NUM_CPU tools/install
ionice -c 3 nice \