diff options
author | Sam Ravnborg <sam@neptun.(none)> | 2007-10-15 16:17:25 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.(none)> | 2007-10-15 16:17:25 -0400 |
commit | 06c5040cdb13d27adad118f2fbfae905a1911b37 (patch) | |
tree | e5e62e04ca2d6f834aed9925a13869f730656139 /arch/um/Makefile-x86_64 | |
parent | 52bcc3308ae3344266f55bf98a22c1ac0201eda7 (diff) |
kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP
The variable CPPFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
This patch replace use of CPPFLAGS with KBUILD_CPPFLAGS all over the
tree and enabling one to use:
make CPPFLAGS=...
to specify additional CPP commandline options.
Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/um/Makefile-x86_64')
-rw-r--r-- | arch/um/Makefile-x86_64 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/Makefile-x86_64 b/arch/um/Makefile-x86_64 index 8836f0df36aa..bcfd6ea30030 100644 --- a/arch/um/Makefile-x86_64 +++ b/arch/um/Makefile-x86_64 | |||
@@ -14,7 +14,7 @@ KBUILD_CFLAGS += $(_extra_flags_) | |||
14 | CHECKFLAGS += -m64 | 14 | CHECKFLAGS += -m64 |
15 | KBUILD_AFLAGS += -m64 | 15 | KBUILD_AFLAGS += -m64 |
16 | LDFLAGS += -m elf_x86_64 | 16 | LDFLAGS += -m elf_x86_64 |
17 | CPPFLAGS += -m64 | 17 | KBUILD_CPPFLAGS += -m64 |
18 | 18 | ||
19 | ELF_ARCH := i386:x86-64 | 19 | ELF_ARCH := i386:x86-64 |
20 | ELF_FORMAT := elf64-x86-64 | 20 | ELF_FORMAT := elf64-x86-64 |