summaryrefslogtreecommitdiffstats
path: root/Makefile.todo
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-28 14:15:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-28 14:35:17 +0200
commitb6c64e1447f155d2d4afd65216360fb1c144d0fb (patch)
tree45acff490efa85d9707d3151cb4bf72ffd3416c6 /Makefile.todo
parentb2e1123733db8fd1a83a893e980a9fe4da357bb6 (diff)
downloadrtems-libbsd-b6c64e1447f155d2d4afd65216360fb1c144d0fb.tar.bz2
Regenerate program header files
Diffstat (limited to 'Makefile.todo')
-rw-r--r--Makefile.todo17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.todo b/Makefile.todo
index 02756895..35fdacd4 100644
--- a/Makefile.todo
+++ b/Makefile.todo
@@ -1,3 +1,7 @@
+BASE = $(PWD)
+
+BUILD_BSP = $(BASE)/build/arm-rtems5-xilinx_zynq_a9_qemu-everything
+
LOCAL_INC = rtemsbsd/include/rtems/bsd/local
LOCAL_SRC = rtemsbsd/local
@@ -64,6 +68,19 @@ lex: $(LEX_GENERATED)
all: yacc lex $(GENERATED)
+program-header:
+ cd freebsd/bin/stty && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/bin/stty/*.o -p stty
+ cd freebsd/contrib/tcpdump && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/contrib/tcpdump/*.o -p tcpdump
+ cd freebsd/sbin/ifconfig && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/sbin/ifconfig/*.o -p ifconfig
+ cd freebsd/sbin/pfctl && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/sbin/pfctl/*.o -p pfctl
+ cd freebsd/sbin/ping6 && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/sbin/ping6/*.o -p ping6
+ cd freebsd/sbin/ping && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/sbin/ping/*.o -p ping
+ cd freebsd/sbin/route && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/sbin/route/*.o -p route
+ cd freebsd/sbin/sysctl && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/sbin/sysctl/*.o -p sysctl
+ cd freebsd/tools/tools/net80211/wlanstats && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/tools/tools/net80211/wlanstats/*.o -p wlanstats
+ cd freebsd/usr.bin/netstat && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/usr.bin/netstat/*.o -p netstat
+ cd freebsd/usr.sbin/arp && $(BASE)/userspace-header-gen.py $(BUILD_BSP)/freebsd/usr.sbin/arp/*.o -p arp
+
$(LOCAL_INC)/usbdevs.h: $(FREEBSD_SRC)/sys/dev/usb/usbdevs
awk -f $(TOOLS)/usbdevs2h.awk $< -h
mv usbdevs.h $@