Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Swconfig
Commits
bd7ef1ef
Commit
bd7ef1ef
authored
Apr 04, 2015
by
Evgheni Dereveanchin
Browse files
tweaks to build scripts
parent
bfd3fcd9
Changes
6
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
bd7ef1ef
...
@@ -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
build.sh
View file @
bd7ef1ef
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
cli.o
0 → 100644
View file @
bd7ef1ef
File added
debian/rules
View file @
bd7ef1ef
#!/usr/bin/make -f
#!/usr/bin/make -f
export DEB_CFLAGS_MAINT_APPEND = -I /usr/include/libnl3/
%:
%:
dh $@
dh $@
swconfig
0 → 100755
View file @
bd7ef1ef
File added
swlib.o
0 → 100644
View file @
bd7ef1ef
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment