diff --git a/module/avl/Makefile.in b/module/avl/Makefile.in index 3a49f35cd5..32ecee49ab 100644 --- a/module/avl/Makefile.in +++ b/module/avl/Makefile.in @@ -3,8 +3,8 @@ DISTFILES = avl.c MODULE := zavl -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@MODDIR@/avl/include +EXTRA_CFLAGS = -I@MODDIR@/avl/include +EXTRA_CFLAGS += @KERNELCPPFLAGS@ obj-m := ${MODULE}.o diff --git a/module/nvpair/Makefile.in b/module/nvpair/Makefile.in index 17b7cc892a..b91a0c6b02 100644 --- a/module/nvpair/Makefile.in +++ b/module/nvpair/Makefile.in @@ -3,8 +3,8 @@ DISTFILES = nvpair.c MODULE := znvpair -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@MODDIR@/nvpair/include +EXTRA_CFLAGS = -I@MODDIR@/nvpair/include +EXTRA_CFLAGS += @KERNELCPPFLAGS@ obj-m := ${MODULE}.o diff --git a/module/unicode/Makefile.in b/module/unicode/Makefile.in index aa2120d604..2a348fc09c 100644 --- a/module/unicode/Makefile.in +++ b/module/unicode/Makefile.in @@ -3,8 +3,8 @@ DISTFILES = u8_textprep.c uconv.c MODULE := zunicode -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@MODDIR@/unicode/include +EXTRA_CFLAGS = -I@MODDIR@/unicode/include +EXTRA_CFLAGS += @KERNELCPPFLAGS@ obj-m := ${MODULE}.o diff --git a/module/zcommon/Makefile.in b/module/zcommon/Makefile.in index 010e77a855..c9510561fb 100644 --- a/module/zcommon/Makefile.in +++ b/module/zcommon/Makefile.in @@ -4,12 +4,12 @@ DISTFILES += zfs_prop.c zpool_prop.c zprop_common.c MODULE := zcommon -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@MODDIR@/avl/include +EXTRA_CFLAGS = -I@MODDIR@/avl/include EXTRA_CFLAGS += -I@MODDIR@/nvpair/include EXTRA_CFLAGS += -I@MODDIR@/unicode/include EXTRA_CFLAGS += -I@MODDIR@/zcommon/include EXTRA_CFLAGS += -I@MODDIR@/zfs/include +EXTRA_CFLAGS += @KERNELCPPFLAGS@ obj-m := ${MODULE}.o diff --git a/module/zfs/Makefile.in b/module/zfs/Makefile.in index bd72636ccf..0e48a39202 100644 --- a/module/zfs/Makefile.in +++ b/module/zfs/Makefile.in @@ -11,12 +11,12 @@ DISTFILES += zfs_znode.o zil.o zio.o zio_checksum.o zio_compress.o zio_inject.o MODULE := zpool -EXTRA_CFLAGS = @KERNELCPPFLAGS@ -EXTRA_CFLAGS += -I@MODDIR@/zfs/include +EXTRA_CFLAGS = -I@MODDIR@/zfs/include EXTRA_CFLAGS += -I@MODDIR@/zcommon/include EXTRA_CFLAGS += -I@MODDIR@/avl/include EXTRA_CFLAGS += -I@MODDIR@/nvpair/include EXTRA_CFLAGS += -I@MODDIR@/unicode/include +EXTRA_CFLAGS += @KERNELCPPFLAGS@ obj-m := ${MODULE}.o