diff options
author | Brian Behlendorf <[email protected]> | 2013-02-21 15:10:11 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-03-13 13:42:16 -0700 |
commit | 775f2d34a3ccd5f866cfa04be76f83cb562f3881 (patch) | |
tree | 8bed94037a291b6cd2a2e40cb50bb9b28fb20e55 /include/linux/Makefile.am | |
parent | d69b2dee714f732300c6db12b7af48b4f86d67ee (diff) |
Change zfs-kmod-devel install path
Install the common zfs kernel development headers under
/usr/src/zfs-<version>/ rather than in a kernel specific
directory. The kernel specific build products such as
zfs_config.h and Modules.symvers are left installed under
/usr/src/zfs-<version>/<kernel>.
This was done to be consistent with where dkms expects
kernel module source to be packaged. It also allows for
a common zfs-kmod-devel package which includes the headers,
and per-kernel zfs-kmod-devel-<kernel> packages.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/linux/Makefile.am')
-rw-r--r-- | include/linux/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am index 6e481a136..c2a749121 100644 --- a/include/linux/Makefile.am +++ b/include/linux/Makefile.am @@ -16,6 +16,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H) endif if CONFIG_KERNEL -kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE)/$(LINUX_VERSION)/linux +kerneldir = /usr/src/zfs-$(VERSION)/include/linux kernel_HEADERS = $(COMMON_H) $(KERNEL_H) endif |