forked from freifunk-franken/firmware
buildscript: fix indent
Signed-off-by: Tim Niemeyer <tim@fipux.org>
This commit is contained in:
parent
3554fa4d38
commit
049e130f8d
18
buildscript
18
buildscript
|
@ -19,11 +19,11 @@ prepare() {
|
|||
#fix for building toolchain on texinfo>=5
|
||||
cp -a build_patches/toolchain $target
|
||||
|
||||
# This changes the default behavior of sysupgrade to not save the config
|
||||
cat build_patches/sysupgrade_no_config_save.patch | patch -p0 -d $target
|
||||
# This changes the default behavior of sysupgrade to not save the config
|
||||
cat build_patches/sysupgrade_no_config_save.patch | patch -p0 -d $target
|
||||
|
||||
# This adds the sysctl load just before the network comes up
|
||||
cat build_patches/invoke_sysctl_before_network.patch | patch -p0 -d $target
|
||||
# This adds the sysctl load just before the network comes up
|
||||
cat build_patches/invoke_sysctl_before_network.patch | patch -p0 -d $target
|
||||
|
||||
#backport mac80211-patches from openwrt r35786 and r36664
|
||||
cp build_patches/mac80211/* $target/package/mac80211/patches
|
||||
|
@ -37,9 +37,9 @@ prepare() {
|
|||
#batman-adv: fix dat NULL pointer dereference
|
||||
cat build_patches/changeset_35609.diff | patch -p1 -d $target/feeds
|
||||
|
||||
#saves ~200MB for each build
|
||||
test -d ./dl || mkdir ./dl
|
||||
ln -s ../../dl $target/dl
|
||||
#saves ~200MB for each build
|
||||
test -d ./dl || mkdir ./dl
|
||||
ln -s ../../dl $target/dl
|
||||
|
||||
board_prepare
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ prebuild() {
|
|||
board_prebuild
|
||||
|
||||
#insert actual firware version informations into release file
|
||||
version=$(git describe --tags --dirty)
|
||||
version=$(git describe --tags --dirty)
|
||||
|
||||
echo "FIRMWARE_VERSION=\"$version\"" > $target/files/etc/firmware_release
|
||||
echo "RELEASE_DATE=\"build date: "`date`"\"" >> $target/files/etc/firmware_release
|
||||
|
@ -68,7 +68,7 @@ build() {
|
|||
|
||||
opath=$(pwd)
|
||||
cd $target
|
||||
cpus=$(grep processor /proc/cpuinfo | wc -l)
|
||||
cpus=$(grep processor /proc/cpuinfo | wc -l)
|
||||
|
||||
case "$1" in
|
||||
"debug")
|
||||
|
|
Loading…
Reference in New Issue