aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantinos Margaritis <markos@genesi-usa.com>2011-05-19 02:14:44 +0300
committermaximilian attems <max@stro.at>2011-05-19 12:05:36 +0200
commita2a6f306e75a8e4485cba9e2d6197ce9cae4305b (patch)
treeaf719ab6089fef368ebb2ab62e3720efdd616090
parent7fb8596a9dc04d94ec5bc0ae66c4fe93f8c1eae4 (diff)
downloadklibc-a2a6f306e75a8e4485cba9e2d6197ce9cae4305b.tar.gz
[klibc] arm: use conditional assignments for CPU_{ARCH,TUNE}
This allows building klibc for the new upcoming Debian port armhf. It uses -mfloat-abi=hard by default This was already asked for by Ubuntu arm porter Loïc Minier. Cc: Loïc Minier <lool@dooz.org> Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/klibc/arch/arm/MCONFIG4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/klibc/arch/arm/MCONFIG b/usr/klibc/arch/arm/MCONFIG
index 418ba01c55b1d..addbe407599be 100644
--- a/usr/klibc/arch/arm/MCONFIG
+++ b/usr/klibc/arch/arm/MCONFIG
@@ -7,8 +7,8 @@
# accordingly.
#
-CPU_ARCH := armv4
-CPU_TUNE := strongarm
+CPU_ARCH ?= armv4
+CPU_TUNE ?= strongarm
KLIBCOPTFLAGS += -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE)
KLIBCBITSIZE = 32