diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-04 12:46:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-04 12:46:01 -0400 |
commit | 29f31773e07772e73e3177a4af147244cd080554 (patch) | |
tree | 369eb6c6bec35951158fb94ac241e0c81189c5b3 /Makefile | |
parent | 59107c6525c0d325649eae807905d34772d5a664 (diff) | |
parent | 112942353992d95099fb5b71c679ff1046fccfcf (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
kbuild: finally remove the obsolete variable $TOPDIR
gitignore: ignore scripts/ihex2fw
Kbuild: Disable the -Wformat-security gcc flag
gitignore: ignore gcov output files
kbuild: deb-pkg ship changelog
Add new __init_task_data macro to be used in arch init_task.c files.
asm-generic/vmlinux.lds.h: shuffle INIT_TASK* macro names in vmlinux.lds.h
Add new macros for page-aligned data and bss sections.
asm-generic/vmlinux.lds.h: Fix up RW_DATA_SECTION definition.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -140,15 +140,13 @@ _all: modules | |||
140 | endif | 140 | endif |
141 | 141 | ||
142 | srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR)) | 142 | srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR)) |
143 | TOPDIR := $(srctree) | ||
144 | # FIXME - TOPDIR is obsolete, use srctree/objtree | ||
145 | objtree := $(CURDIR) | 143 | objtree := $(CURDIR) |
146 | src := $(srctree) | 144 | src := $(srctree) |
147 | obj := $(objtree) | 145 | obj := $(objtree) |
148 | 146 | ||
149 | VPATH := $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD)) | 147 | VPATH := $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD)) |
150 | 148 | ||
151 | export srctree objtree VPATH TOPDIR | 149 | export srctree objtree VPATH |
152 | 150 | ||
153 | 151 | ||
154 | # SUBARCH tells the usermode build what the underlying arch is. That is set | 152 | # SUBARCH tells the usermode build what the underlying arch is. That is set |
@@ -344,7 +342,8 @@ KBUILD_CPPFLAGS := -D__KERNEL__ | |||
344 | 342 | ||
345 | KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ | 343 | KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ |
346 | -fno-strict-aliasing -fno-common \ | 344 | -fno-strict-aliasing -fno-common \ |
347 | -Werror-implicit-function-declaration | 345 | -Werror-implicit-function-declaration \ |
346 | -Wno-format-security | ||
348 | KBUILD_AFLAGS := -D__ASSEMBLY__ | 347 | KBUILD_AFLAGS := -D__ASSEMBLY__ |
349 | 348 | ||
350 | # Read KERNELRELEASE from include/config/kernel.release (if it exists) | 349 | # Read KERNELRELEASE from include/config/kernel.release (if it exists) |