svn commit: r188978 - in head: etc/mtree include usr.bin/kdump
Andrew Thompson
thompsa at FreeBSD.org
Mon Feb 23 16:53:11 PST 2009
Author: thompsa
Date: Tue Feb 24 00:53:10 2009
New Revision: 188978
URL: http://svn.freebsd.org/changeset/base/188978
Log:
Install the old usb headers under /usr/include/legacy/dev/usb as they are
needed by the hal port. This will be removed before 8.0.
Add an exclusion to kdump as some structs will be redefined.
Requested by: marcus
Modified:
head/etc/mtree/BSD.include.dist
head/include/Makefile
head/usr.bin/kdump/mkioctls
Modified: head/etc/mtree/BSD.include.dist
==============================================================================
--- head/etc/mtree/BSD.include.dist Tue Feb 24 00:39:48 2009 (r188977)
+++ head/etc/mtree/BSD.include.dist Tue Feb 24 00:53:10 2009 (r188978)
@@ -195,6 +195,12 @@
..
kadm5
..
+ legacy
+ dev
+ usb
+ ..
+ ..
+ ..
libmilter
..
lwres
Modified: head/include/Makefile
==============================================================================
--- head/include/Makefile Tue Feb 24 00:39:48 2009 (r188977)
+++ head/include/Makefile Tue Feb 24 00:53:10 2009 (r188978)
@@ -54,7 +54,7 @@ LSUBDIRS= cam/scsi \
security/mac_mls security/mac_partition \
ufs/ffs ufs/ufs
-LSUBSUBDIRS= dev/mpt/mpilib
+LSUBSUBDIRS= dev/mpt/mpilib legacy/dev/usb
.if ${MACHINE_ARCH} == "powerpc"
_dev_powermac_nvram= dev/powermac_nvram
Modified: head/usr.bin/kdump/mkioctls
==============================================================================
--- head/usr.bin/kdump/mkioctls Tue Feb 24 00:39:48 2009 (r188977)
+++ head/usr.bin/kdump/mkioctls Tue Feb 24 00:53:10 2009 (r188978)
@@ -18,11 +18,14 @@ fi
LC_ALL=C; export LC_ALL
+# include subdirs to exclude from the search
+exclude="^legacy/.*"
+
# Build a list of headers that have ioctls in them.
# XXX should we use an ANSI cpp?
ioctl_includes=`
cd $1
- find -H -s * -name '*.h' |
+ find -H -s * -name '*.h' \! -regex $exclude |
xargs egrep -l \
'^#[ ]*define[ ]+[A-Za-z_][A-Za-z0-9_]*[ ]+_IO[^a-z0-9_]' |
awk '{printf("#include <%s>\\\\n", $1)}'
More information about the svn-src-head
mailing list