mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
39a3d2a421
- Properly honor --prefix in build system and rpm spec file. - Add '--define require_kdir' to spec file to support building rpms against kernel sources installed in non-default locations. - Add '--define require_kobj' to spec file to support building rpms against kernel object installed in non-default locations. - Stop suppressing errors in autogen.sh script. - Improved logic to detect missing kernel objects when they are not located with the source. This is the common case for SLES as well as in-tree chaos kernel builds and is done to simply support for multiple arches. - Moved spl-devel build products to /usr/src/spl-<version>, a spl symlink is created to reference the last installed version.
23 lines
477 B
Makefile
23 lines
477 B
Makefile
subdir-m += spl
|
|
subdir-m += splat
|
|
|
|
INSTALL=/usr/bin/install
|
|
|
|
modules clean:
|
|
$(MAKE) -C @LINUX@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
|
|
|
|
modules_install:
|
|
$(MAKE) -C @LINUX@ SUBDIRS=`pwd` \
|
|
INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=addon $@
|
|
|
|
distdir:
|
|
list='$(subdir-m)'; for subdir in $$list; do \
|
|
(find $$subdir -name '*.c' -o -name '*.h' | \
|
|
xargs /bin/cp -t $$distdir/$$subdir); \
|
|
done
|
|
|
|
distclean maintainer-clean: clean
|
|
install: modules_install
|
|
all: modules
|
|
check:
|