projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kbuild: enable 'make CFLAGS=...' to add additional options to CC
[deliverable/linux.git]
/
arch
/
xtensa
/
Makefile
diff --git
a/arch/xtensa/Makefile
b/arch/xtensa/Makefile
index acf05be2492911ae50b270d788f0a10c69087742..56685a88334747ef1467cac388345f5b9bf20339 100644
(file)
--- a/
arch/xtensa/Makefile
+++ b/
arch/xtensa/Makefile
@@
-28,11
+28,9
@@
PLATFORM = $(platform-y)
export PLATFORM
# temporarily until string.h is fixed
export PLATFORM
# temporarily until string.h is fixed
-
cflags-y
+= -ffreestanding
+
KBUILD_CFLAGS
+= -ffreestanding
-cflags-y += -pipe -mlongcalls
-
-CFLAGS += $(cflags-y)
+KBUILD_CFLAGS += -pipe -mlongcalls
KBUILD_DEFCONFIG := iss_defconfig
KBUILD_DEFCONFIG := iss_defconfig
@@
-56,7
+54,7
@@
endif
#
#
-LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
+LIBGCC := $(shell $(CC) $(
KBUILD_
CFLAGS) -print-libgcc-file-name)
head-y := arch/xtensa/kernel/head.o
core-y += arch/xtensa/kernel/ arch/xtensa/mm/
head-y := arch/xtensa/kernel/head.o
core-y += arch/xtensa/kernel/ arch/xtensa/mm/
This page took
0.025133 seconds
and
5
git commands to generate.