aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/Makefile.am
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-02-20 13:58:05 -0800
committerBrian Behlendorf <[email protected]>2013-03-14 12:01:05 -0700
commit4a6d8d2c3e72345463de1db97d7d016c95443679 (patch)
tree36f62b844a329389038ed01d44e1e30115d55be3 /include/sys/Makefile.am
parent5c30c47a4542a58ae6c94bdee15f4691affa2a17 (diff)
Change spl-kmod-devel install path
Install the common spl kernel development headers under /usr/src/spl-<version>/ rather than in a kernel specific directory. The kernel specific build products such as spl_config.h and Modules.symvers are left installed under /usr/src/spl-<version>/<kernel>. This was done to be consistent with where dkms expects kernel module source to be packaged. It also allows for a common spl-kmod-devel package which includes the headers, and per-kernel spl-kmod-devel-<kernel> packages. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/sys/Makefile.am')
-rw-r--r--include/sys/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
index 37e958229..0e86a2894 100644
--- a/include/sys/Makefile.am
+++ b/include/sys/Makefile.am
@@ -104,7 +104,7 @@ USER_H =
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
if CONFIG_KERNEL
-kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/sys
+kerneldir = /usr/src/spl-$(VERSION)/include/sys
kernel_HEADERS = $(KERNEL_H)
endif