From patchwork Sat Oct 27 13:36:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Building for armhf (RaspberryPI on Debian) Date: Sat, 27 Oct 2012 13:36:02 -0000 From: Matteo Fortini X-Patchwork-Id: 38625 Message-Id: To: openembedded-devel@lists.openembedded.org 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 -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}" 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"