summaryrefslogtreecommitdiffstats
path: root/freebsd-userspace/Makefile
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-22 10:50:36 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-23 11:13:57 -0500
commit44ee0428229e1f89217545af2c468a25e3ea7ab2 (patch)
treeeec5ca0ad8c36ee25430d47686d94dba5db06212 /freebsd-userspace/Makefile
parentnetshell01: Add netstat command (diff)
downloadrtems-libbsd-44ee0428229e1f89217545af2c468a25e3ea7ab2.tar.bz2
Add kvm header file - stubbed for RTEMS
This is only used to read dumps with a symbol table. We can use sysctlbyname().
Diffstat (limited to 'freebsd-userspace/Makefile')
-rw-r--r--freebsd-userspace/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/freebsd-userspace/Makefile b/freebsd-userspace/Makefile
index 5cdc7ab1..a51e98ba 100644
--- a/freebsd-userspace/Makefile
+++ b/freebsd-userspace/Makefile
@@ -11,6 +11,7 @@ CFLAGS += -Ilib/libc/resolv
CFLAGS += -Ilib/netgraph
CFLAGS += -Ilib/libmemstat
CFLAGS += -Ilib/libutil
+CFLAGS += -Ilib/libkvm
CFLAGS += -Isys
CFLAGS += -Ilocal
# XXX hack to find rpc
@@ -164,7 +165,6 @@ C_FILES += rtems/rtems-uthread_kevent.c
C_FILES += rtems/rtems-uthread_kqueue.c
C_FILES += rtems/rtems-shell.c
-
# ping command sources
C_FILES += commands/sbin/ping/ping.c
C_FILES += commands/sbin/ping6/ping6.c
@@ -231,13 +231,14 @@ C_FILES += commands/usr.bin/netstat/ipsec.c
# C_FILES += commands/usr.bin/netstat/ipx.c
C_FILES += commands/usr.bin/netstat/main.c
# XXX does not compile yet
-# C_FILES += commands/usr.bin/netstat/mbuf.c
+C_FILES += commands/usr.bin/netstat/mbuf.c
C_FILES += commands/usr.bin/netstat/mroute6.c
C_FILES += commands/usr.bin/netstat/mroute.c
# Disable netgraph support - this is a long thread to pull
# C_FILES += commands/usr.bin/netstat/netgraph.c
C_FILES += commands/usr.bin/netstat/pfkey.c
-C_FILES += commands/usr.bin/netstat/route.c
+# Actually just route.c in FreeBSD
+C_FILES += commands/usr.bin/netstat/netstat_route.c
C_FILES += commands/usr.bin/netstat/sctp.c
C_FILES += commands/usr.bin/netstat/unix.c