summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-06-03 12:24:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-06-03 12:24:50 +0200
commit878f38de8fea2523cb18562344a2ab0dafc58017 (patch)
tree23c7fff3a4562b4cb06cdf63b5650b09d3a55695 /arch/sandbox/Makefile
parentdabec3a7a165f7cce58f45c05059c4ee9e2529a9 (diff)
downloadbarebox-878f38de8fea2523cb18562344a2ab0dafc58017.tar.gz
barebox-878f38de8fea2523cb18562344a2ab0dafc58017.tar.xz
[kbuild] change architecture Makefiles not to overwrite
CFLAGS, instead append them to the existing CFLAGS. Also, remove all double CFLAGS
Diffstat (limited to 'arch/sandbox/Makefile')
-rw-r--r--arch/sandbox/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index e15009e2ab..b1ed283745 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -11,7 +11,7 @@ lds-y := arch/sandbox/lib/u-boot.lds
TEXT_BASE = $(CONFIG_TEXT_BASE)
CPPFLAGS += -P
-CFLAGS := -fno-common -Os -Dmalloc=u_boot_malloc \
+CFLAGS += -Os -Dmalloc=u_boot_malloc \
-Dfree=u_boot_free -Drealloc=u_boot_realloc \
-Dread=u_boot_read -Dwrite=u_boot_write \
-Dopen=u_boot_open -Dclose=u_boot_close \