Merge commit 'refs/top-bases/linux-symbol-collisions' into linux-symbol-collisions

This commit is contained in:
Brian Behlendorf 2010-03-09 10:31:19 -08:00
commit 96904978f8
1 changed files with 2 additions and 6 deletions

View File

@ -23,12 +23,8 @@ modules_install:
# Install the required headers in to the kernel source # Install the required headers in to the kernel source
destname=zfs-@ZFS_META_VERSION@/@LINUX_VERSION@; \ destname=zfs-@ZFS_META_VERSION@/@LINUX_VERSION@; \
instdest=$(DESTDIR)/@prefix@/src/$$destname; \ instdest=$(DESTDIR)/@prefix@/src/$$destname; \
(mkdir -p $$instdest && \ (find . -mindepth 3 -name '*.h' | xargs -Ihdr sh -c \
find . -mindepth 3 -maxdepth 3 -name '*.h' | \ "DEST=hdr && install -D hdr $$instdest/\$${DEST#*/*/*/}") || exit 1
xargs cp -t $$instdest) || exit 1; \
(mkdir -p $$instdest/sys && \
find . -mindepth 4 -maxdepth 4 -name '*.h' | \
xargs cp -t $$instdest/sys) || exit 1;
distdir: distdir:
distfiles=`find . -name '*.c' -o -name '*.h'`; \ distfiles=`find . -name '*.c' -o -name '*.h'`; \