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
This commit is contained in:
parent
211211de83
commit
8b446f57a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188978
@ -195,6 +195,12 @@
|
||||
..
|
||||
kadm5
|
||||
..
|
||||
legacy
|
||||
dev
|
||||
usb
|
||||
..
|
||||
..
|
||||
..
|
||||
libmilter
|
||||
..
|
||||
lwres
|
||||
|
@ -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
|
||||
|
@ -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)}'
|
||||
|
Loading…
Reference in New Issue
Block a user