[oe] Building for armhf (RaspberryPI on Debian)

Matteo Fortini matteo.fortini at gmail.com
Sat Oct 27 13:36:02 UTC 2012


Hi,
I'm trying to build some OE deb packages using meta-raspberrypi, but my
wheezy Raspbian distro is complaining that the OE .deb was built for the
"arm" architecture and not for the "armhf" one.

To fix this, I tried to use an "armhf" machine, by changing the machine
definition in the following way. However, this didn't fix it, even if
bitbake is telling me it's using the hardware accelerated FPU.

Could you point me to a way of solving it?

Thank you in advance,
Matteo

diff --git a/conf/machine/include/tune-arm1176jzf-s.inc
b/conf/machine/include/tune-arm1176jzf-s.inc
index b52c161..9060f48 100644
--- a/conf/machine/include/tune-arm1176jzf-s.inc
+++ b/conf/machine/include/tune-arm1176jzf-s.inc
@@ -6,5 +6,5 @@ TUNEVALID[arm1176jzfs] = "Enable arm1176jzfs specific
processor optimizations"
 TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "arm1176jzfs",
"-mtune=arm1176jzf-s", "", d)}"

 AVAILTUNES += "arm1176jzfs"
-TUNE_FEATURES_tune-arm1176jzfs = "${TUNE_FEATURES_tune-armv6} arm1176jzfs"
-PACKAGE_EXTRA_ARCHS_tune-arm1176jzfs = "${PACKAGE_EXTRA_ARCHS_tune-armv6}"
+TUNE_FEATURES_tune-arm1176jzfs = "${TUNE_FEATURES_tune-armv6hf}
arm1176jzfs"
+PACKAGE_EXTRA_ARCHS_tune-arm1176jzfs =
"${PACKAGE_EXTRA_ARCHS_tune-armv6hf}"



More information about the Openembedded-devel mailing list