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

tweaks to build scripts

parent bfd3fcd9
...@@ -14,4 +14,4 @@ clean: ...@@ -14,4 +14,4 @@ clean:
rm -f *~ *.o swconfig rm -f *~ *.o swconfig
install: install:
install -D swconfig $(DESTDIR)$(BINDIR)/swconfig install -D swconfig $(DESTDIR)$(PREFIX)/sbin/swconfig
echo "will build swconfig now" echo "will build swconfig now"
if [ ! -f /usr/include/linux/switch.h ]; then if [ ! -f /usr/include/linux/switch.h ]; then
echo "switch.h not found in kernel headers! Aborting" echo "switch.h not found in kernel headers! Aborting"
exit exit 1
fi fi
make clean && cd .. && tar -cvzf swconfig_15.04.orig.tar.gz swconfig && cd swconfig make clean && cd .. && tar -cvzf swconfig_15.04.orig.tar.gz swconfig && cd swconfig
debuild -us -uc debuild -us -uc
\ No newline at end of file
File added
#!/usr/bin/make -f #!/usr/bin/make -f
export DEB_CFLAGS_MAINT_APPEND = -I /usr/include/libnl3/
%: %:
dh $@ 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