diff --git a/scripts/build.sh b/scripts/build.sh index bee9670..d40eaeb 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,11 +1,14 @@ #!/bin/bash +# ToDo: show target options + +# ToDo: test target config + cp "$WORKDIR/target-configs/$OPENWRT_TARGET.diff" \ "$WORKDIR/.config" && exit 1 ./scripts/feeds update -a && exit 1 ./scripts/feeds install -a && exit 1 -PROCESSORS=$(cat /proc/cpuinfo | grep '^processor' | wc -l) -ionice -c 3 nice -n19 make -j $((PROCESSORS - 1)) +ionice -c 3 nice -n19 make -j1 V=s