mirror of
https://github.com/rafacouto/docker-openwrt-builder
synced 2025-06-07 16:06:16 +00:00
Log in detail while compiling.
This commit is contained in:
parent
fea6bd2ed8
commit
3f82cbb957
@ -1,11 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# ToDo: show target options
|
||||||
|
|
||||||
|
# ToDo: test target config
|
||||||
|
|
||||||
cp "$WORKDIR/target-configs/$OPENWRT_TARGET.diff" \
|
cp "$WORKDIR/target-configs/$OPENWRT_TARGET.diff" \
|
||||||
"$WORKDIR/.config" && exit 1
|
"$WORKDIR/.config" && exit 1
|
||||||
|
|
||||||
./scripts/feeds update -a && exit 1
|
./scripts/feeds update -a && exit 1
|
||||||
./scripts/feeds install -a && exit 1
|
./scripts/feeds install -a && exit 1
|
||||||
|
|
||||||
PROCESSORS=$(cat /proc/cpuinfo | grep '^processor' | wc -l)
|
ionice -c 3 nice -n19 make -j1 V=s
|
||||||
ionice -c 3 nice -n19 make -j $((PROCESSORS - 1))
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user