[oe] Building for armhf (RaspberryPI on Debian)

Andrei Gherzan andrei at gherzan.ro
Mon Oct 29 10:14:17 UTC 2012


This sounds like a bug. Could you please submit an issue on github?

Thanks,
ag


On Sat, Oct 27, 2012 at 4:36 PM, Matteo Fortini <matteo.fortini at gmail.com>wrote:

> 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}"
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list