Commit bd7ef1ef authored by Evgheni Dereveanchin's avatar Evgheni Dereveanchin
Browse files

tweaks to build scripts

parent bfd3fcd9
......@@ -14,4 +14,4 @@ clean:
rm -f *~ *.o swconfig
install:
install -D swconfig $(DESTDIR)$(BINDIR)/swconfig
install -D swconfig $(DESTDIR)$(PREFIX)/sbin/swconfig
echo "will build swconfig now"
if [ ! -f /usr/include/linux/switch.h ]; then
echo "switch.h not found in kernel headers! Aborting"
exit
exit 1
fi
make clean && cd .. && tar -cvzf swconfig_15.04.orig.tar.gz swconfig && cd swconfig
debuild -us -uc
\ No newline at end of file
File added
#!/usr/bin/make -f
export DEB_CFLAGS_MAINT_APPEND = -I /usr/include/libnl3/
%:
dh $@
File added
File added
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment