diff options
author | Brian Behlendorf <[email protected]> | 2013-02-20 13:58:05 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-03-14 12:01:05 -0700 |
commit | 4a6d8d2c3e72345463de1db97d7d016c95443679 (patch) | |
tree | 36f62b844a329389038ed01d44e1e30115d55be3 /include | |
parent | 5c30c47a4542a58ae6c94bdee15f4691affa2a17 (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')
-rw-r--r-- | include/Makefile.am | 2 | ||||
-rw-r--r-- | include/fs/Makefile.am | 2 | ||||
-rw-r--r-- | include/linux/Makefile.am | 2 | ||||
-rw-r--r-- | include/rpc/Makefile.am | 2 | ||||
-rw-r--r-- | include/sharefs/Makefile.am | 2 | ||||
-rw-r--r-- | include/sys/Makefile.am | 2 | ||||
-rw-r--r-- | include/sys/fm/Makefile.am | 2 | ||||
-rw-r--r-- | include/sys/fs/Makefile.am | 2 | ||||
-rw-r--r-- | include/sys/sysevent/Makefile.am | 2 | ||||
-rw-r--r-- | include/util/Makefile.am | 2 | ||||
-rw-r--r-- | include/vm/Makefile.am | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 952c4a267..463bea1d1 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -16,6 +16,6 @@ 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) +kerneldir = /usr/src/spl-$(VERSION)/include kernel_HEADERS = $(KERNEL_H) endif diff --git a/include/fs/Makefile.am b/include/fs/Makefile.am index 2a3673712..530172ddc 100644 --- a/include/fs/Makefile.am +++ b/include/fs/Makefile.am @@ -8,6 +8,6 @@ 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)/fs +kerneldir = /usr/src/spl-$(VERSION)/include/fs kernel_HEADERS = $(KERNEL_H) endif diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am index cf1f62ad1..730f7695b 100644 --- a/include/linux/Makefile.am +++ b/include/linux/Makefile.am @@ -23,6 +23,6 @@ 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)/linux +kerneldir = /usr/src/spl-$(VERSION)/include/linux kernel_HEADERS = $(KERNEL_H) endif diff --git a/include/rpc/Makefile.am b/include/rpc/Makefile.am index cb68f4501..2f8aa29dd 100644 --- a/include/rpc/Makefile.am +++ b/include/rpc/Makefile.am @@ -9,6 +9,6 @@ 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)/rpc +kerneldir = /usr/src/spl-$(VERSION)/include/rpc kernel_HEADERS = $(KERNEL_H) endif diff --git a/include/sharefs/Makefile.am b/include/sharefs/Makefile.am index b343c75b7..d6175a502 100644 --- a/include/sharefs/Makefile.am +++ b/include/sharefs/Makefile.am @@ -8,6 +8,6 @@ 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)/sharefs +kerneldir = /usr/src/spl-$(VERSION)/include/sharefs kernel_HEADERS = $(KERNEL_H) endif 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 diff --git a/include/sys/fm/Makefile.am b/include/sys/fm/Makefile.am index a073d2a3b..1c9cf8416 100644 --- a/include/sys/fm/Makefile.am +++ b/include/sys/fm/Makefile.am @@ -9,6 +9,6 @@ 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/fm +kerneldir = /usr/src/spl-$(VERSION)/include/sys/fm kernel_HEADERS = $(KERNEL_H) endif diff --git a/include/sys/fs/Makefile.am b/include/sys/fs/Makefile.am index 3805a5ed3..27ae10988 100644 --- a/include/sys/fs/Makefile.am +++ b/include/sys/fs/Makefile.am @@ -8,6 +8,6 @@ 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/fs +kerneldir = /usr/src/spl-$(VERSION)/include/sys/fs kernel_HEADERS = $(KERNEL_H) endif diff --git a/include/sys/sysevent/Makefile.am b/include/sys/sysevent/Makefile.am index d2247d747..bf395eb2d 100644 --- a/include/sys/sysevent/Makefile.am +++ b/include/sys/sysevent/Makefile.am @@ -8,6 +8,6 @@ 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/sysevent +kerneldir = /usr/src/spl-$(VERSION)/include/sys/sysevent kernel_HEADERS = $(KERNEL_H) endif diff --git a/include/util/Makefile.am b/include/util/Makefile.am index 61fdff0bc..5ac96e8cc 100644 --- a/include/util/Makefile.am +++ b/include/util/Makefile.am @@ -9,6 +9,6 @@ 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)/util +kerneldir = /usr/src/spl-$(VERSION)/include/util kernel_HEADERS = $(KERNEL_H) endif diff --git a/include/vm/Makefile.am b/include/vm/Makefile.am index 9b09929db..413a6e325 100644 --- a/include/vm/Makefile.am +++ b/include/vm/Makefile.am @@ -10,6 +10,6 @@ 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)/vm +kerneldir = /usr/src/spl-$(VERSION)/include/vm kernel_HEADERS = $(KERNEL_H) endif |