Commit hnyman's changes
[lede.git] / hnscripts / updateNmake.sh
1 #!/bin/bash
2 #
3 # update & make  -  Update source code and continue to make the build
4
5 umask 0022
6 echo "...update main source..."
7 git pull
8 echo "...update feeds..."
9 ./scripts/feeds update -a
10 [ "$?" -ne 0 ] && echo "Updating the feeds failed." && exit 1
11 echo "...install feeds..."
12 ./scripts/feeds install -a
13 echo "...make defconfig..."
14 make defconfig
15 #echo "...make menuconfig..."
16 #make menuconfig
17 echo "...download new source packages..."
18 make download
19 echo "...make the firmware..."
20 hnscripts/parallelcompile.sh
21