X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2FMakefile.in;h=c69b8a35560e401b4392f344f65cf1210874a116;hb=5d7a86d114c2706a8d14d94b71f81ad5cdf066c5;hp=50cbb58915821623f2550a9867fdea4244fd3faa;hpb=fe0ed8f910c1e4288dc190546cfe98ecf545b547;p=zfs.git diff --git a/module/Makefile.in b/module/Makefile.in index 50cbb58..c69b8a3 100644 --- a/module/Makefile.in +++ b/module/Makefile.in @@ -5,6 +5,11 @@ subdir-m += zcommon subdir-m += zfs subdir-m += zpios +ZFS_MODULE_CFLAGS += -include @SPL_OBJ@/spl_config.h +ZFS_MODULE_CFLAGS += -include @abs_top_builddir@/zfs_config.h +ZFS_MODULE_CFLAGS += -I@abs_top_srcdir@/include -I@SPL@/include -I@SPL@ +export ZFS_MODULE_CFLAGS + modules: @# Make the exported SPL symbols available to these modules. @# They may be in the root of SPL_OBJ when building against @@ -21,7 +26,7 @@ modules: "*** - @SPL_OBJ@/module/@SPL_SYMBOLS@\n"; \ exit 1; \ fi - $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@ + $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ CONFIG_ZFS=m $@ clean: @# Only cleanup the kernel build directories when CONFIG_KERNEL