From 775f2d34a3ccd5f866cfa04be76f83cb562f3881 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 21 Feb 2013 15:10:11 -0800 Subject: Change zfs-kmod-devel install path Install the common zfs kernel development headers under /usr/src/zfs-/ 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-/. 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- packages. Signed-off-by: Brian Behlendorf --- include/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Makefile.am') diff --git a/include/Makefile.am b/include/Makefile.am index 8325a8ec0..64141d9bc 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -28,6 +28,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H) endif if CONFIG_KERNEL -kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE)/$(LINUX_VERSION) +kerneldir = /usr/src/zfs-$(VERSION)/include kernel_HEADERS = $(COMMON_H) $(KERNEL_H) endif -- cgit v1.2.3