angsgrom: make TARET_FPU overridable
authorKoen Kooi <koen@openembedded.org>
Wed, 30 Aug 2006 16:51:52 +0000 (16:51 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 30 Aug 2006 16:51:52 +0000 (16:51 +0000)
* put TARGET_FPU="" in conf/machine/include/tune-<foo>.conf to build a hardfloat toolchain
* mixing soft and hardfloat code is safe, BUT hardfloat binaries still don't run onf FPU-less systems

conf/distro/include/angstrom.inc

index d9209ad..96bc33e 100644 (file)
@@ -35,7 +35,8 @@ BUILD_OPTIMIZATION = "-Os"
 CXXFLAGS += "-fvisibility-inlines-hidden"
 
 #ARM EABI is softfloat by default, but let's make sure :)
-TARGET_FPU_arm = "soft"
+#make it overridable for platforms with FPU, like ep93xx or i.mx31
+TARGET_FPU_arm ?= "soft"
 
 #Name the generated images in a sane way
 IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}"