build.sh 248 Bytes
Newer Older
Evgheni Dereveanchin's avatar
Evgheni Dereveanchin committed
1
2
3
echo "will build swconfig now"
if [ ! -f /usr/include/linux/switch.h ]; then
    echo "switch.h not found in kernel headers! Aborting"
Evgheni Dereveanchin's avatar
Evgheni Dereveanchin committed
4
    exit 1
Evgheni Dereveanchin's avatar
Evgheni Dereveanchin committed
5
6
7
fi
make clean && cd .. && tar -cvzf swconfig_15.04.orig.tar.gz swconfig && cd swconfig
debuild -us -uc