|
@@ -140,15 +140,13 @@ _all: modules
|
|
endif
|
|
endif
|
|
|
|
|
|
srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
|
|
srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
|
|
-TOPDIR := $(srctree)
|
|
|
|
-# FIXME - TOPDIR is obsolete, use srctree/objtree
|
|
|
|
objtree := $(CURDIR)
|
|
objtree := $(CURDIR)
|
|
src := $(srctree)
|
|
src := $(srctree)
|
|
obj := $(objtree)
|
|
obj := $(objtree)
|
|
|
|
|
|
VPATH := $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))
|
|
VPATH := $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))
|
|
|
|
|
|
-export srctree objtree VPATH TOPDIR
|
|
|
|
|
|
+export srctree objtree VPATH
|
|
|
|
|
|
|
|
|
|
# SUBARCH tells the usermode build what the underlying arch is. That is set
|
|
# SUBARCH tells the usermode build what the underlying arch is. That is set
|
|
@@ -344,7 +342,8 @@ KBUILD_CPPFLAGS := -D__KERNEL__
|
|
|
|
|
|
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
|
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
|
-fno-strict-aliasing -fno-common \
|
|
-fno-strict-aliasing -fno-common \
|
|
- -Werror-implicit-function-declaration
|
|
|
|
|
|
+ -Werror-implicit-function-declaration \
|
|
|
|
+ -Wno-format-security
|
|
KBUILD_AFLAGS := -D__ASSEMBLY__
|
|
KBUILD_AFLAGS := -D__ASSEMBLY__
|
|
|
|
|
|
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
|
|
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
|