Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
bd8bceae
Commit
bd8bceae
authored
Feb 15, 2016
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slattach/plipconfig: add a config knob to control them
parent
93912384
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
Makefile
Makefile
+13
-3
config.in
config.in
+2
-0
man/Makefile
man/Makefile
+6
-0
No files found.
Makefile
View file @
bd8bceae
...
...
@@ -33,7 +33,7 @@ SBINDIR ?= /sbin
NET_LIB_PATH
=
lib
NET_LIB_NAME
=
net-tools
PROGS
:=
ifconfig netstat route
slattach plipconfig
nameif
PROGS
:=
ifconfig netstat route nameif
-include
config.make
ifeq
($(HAVE_ARP_TOOLS),1)
...
...
@@ -48,6 +48,12 @@ endif
ifeq
($(HAVE_MII),1)
PROGS
+=
mii-tool
endif
ifeq
($(HAVE_PLIP_TOOLS),1)
PROGS
+=
plipconfig
endif
ifeq
($(HAVE_SERIAL_TOOLS),1)
PROGS
+=
slattach
endif
# Compiler and Linker Options
CFLAGS
?=
-O2
-g
...
...
@@ -210,9 +216,7 @@ installbin:
install
-m
0755 ifconfig
${BASEDIR}${BINDIR}
install
-m
0755 nameif
${BASEDIR}${SBINDIR}
install
-m
0755 netstat
${BASEDIR}${BINDIR}
install
-m
0755 plipconfig
$(BASEDIR)${SBINDIR}
install
-m
0755 route
${BASEDIR}${BINDIR}
install
-m
0755 slattach
$(BASEDIR)${SBINDIR}
ifeq
($(HAVE_ARP_TOOLS),1)
install
-m
0755 arp
${BASEDIR}${SBINDIR}
install
-m
0755 rarp
${BASEDIR}${SBINDIR}
...
...
@@ -236,6 +240,12 @@ endif
ifeq
($(HAVE_MII),1)
install
-m
0755 mii-tool
$(BASEDIR)${SBINDIR}
endif
ifeq
($(HAVE_PLIP_TOOLS),1)
install
-m
0755 plipconfig
$(BASEDIR)${SBINDIR}
endif
ifeq
($(HAVE_SERIAL_TOOLS),1)
install
-m
0755 slattach
$(BASEDIR)${SBINDIR}
endif
savebin
:
@
for
i
in
${BASEDIR}${SBINDIR}
/arp
${BASEDIR}${SBINDIR}
/ifconfig
\
...
...
config.in
View file @
bd8bceae
...
...
@@ -95,4 +95,6 @@ bool 'Build hostname' HAVE_HOSTNAME_TOOLS y
bool 'Install hostname NIS/YP symlinks' HAVE_HOSTNAME_SYMLINKS y
bool 'Build iptunnel and ipmaddr' HAVE_IP_TOOLS y
bool 'Build mii-tool' HAVE_MII y
bool 'Build plipconfig' HAVE_PLIP_TOOLS y
bool 'Build slattach' HAVE_SERIAL_TOOLS y
bool 'SELinux support' HAVE_SELINUX n
man/Makefile
View file @
bd8bceae
...
...
@@ -58,6 +58,12 @@ endif
ifneq
($(HAVE_MII),1)
IGNORE_CMDS
+=
|mii-tool.?
endif
ifneq
($(HAVE_PLIP_TOOLS),1)
IGNORE_CMDS
+=
|plipconfig.?
endif
ifneq
($(HAVE_SERIAL_TOOLS),1)
IGNORE_CMDS
+=
|slattach.?
endif
all
:
...
...
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