X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Makefile;h=2dac8010c14296bf71b20da92d7256d6a5b41f22;hb=e758256104c3c2475f7746bc1b348c99cdb207f2;hp=79601320ac3e371666593abcca5820efdbae5caf;hpb=596c96ba06e5d56e72451e02f93f4e15e17458df;p=powerpc.git diff --git a/Makefile b/Makefile index 79601320ac..2dac8010c1 100644 --- a/Makefile +++ b/Makefile @@ -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 \