|
@@ -334,9 +334,8 @@ CFLAGS_GCOV = -fprofile-arcs -ftest-coverage
|
|
|
|
|
|
# Use LINUXINCLUDE when you must reference the include/ directory.
|
|
# Use LINUXINCLUDE when you must reference the include/ directory.
|
|
# Needed to be compatible with the O= option
|
|
# Needed to be compatible with the O= option
|
|
-LINUXINCLUDE := -Iinclude \
|
|
|
|
|
|
+LINUXINCLUDE := -I$(srctree)/arch/$(hdr-arch)/include -Iinclude \
|
|
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
|
|
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
|
|
- -I$(srctree)/arch/$(hdr-arch)/include \
|
|
|
|
-include include/linux/autoconf.h
|
|
-include include/linux/autoconf.h
|
|
|
|
|
|
KBUILD_CPPFLAGS := -D__KERNEL__
|
|
KBUILD_CPPFLAGS := -D__KERNEL__
|