|
@@ -346,7 +346,8 @@ AFLAGS_KERNEL =
|
|
|
# Use LINUXINCLUDE when you must reference the include/ directory.
|
|
|
# Needed to be compatible with the O= option
|
|
|
LINUXINCLUDE := -Iinclude \
|
|
|
- $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include)
|
|
|
+ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
|
|
|
+ -imacros include/linux/autoconf.h
|
|
|
|
|
|
CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
|
|
|
|
|
@@ -1249,11 +1250,6 @@ tags: FORCE
|
|
|
# Scripts to check various things for consistency
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
-configcheck:
|
|
|
- find * $(RCS_FIND_IGNORE) \
|
|
|
- -name '*.[hcS]' -type f -print | sort \
|
|
|
- | xargs $(PERL) -w scripts/checkconfig.pl
|
|
|
-
|
|
|
includecheck:
|
|
|
find * $(RCS_FIND_IGNORE) \
|
|
|
-name '*.[hcS]' -type f -print | sort \
|