[OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

Koen Kooi koen at dominion.thruhere.net
Fri May 6 12:02:52 UTC 2011


Op 6 mei 2011, om 13:31 heeft Richard Purdie het volgende geschreven:

> On Fri, 2011-05-06 at 16:52 +0800, Cui, Dexuan wrote:
>> Richard Purdie wrote:
>>>> 3) In gnu-config_20080123.bb's do_install, I don't understand this
>>>>    lines: here the "!=" should be "="? if [ "${BUILD_ARCH}" !=
>>>>        "${TARGET_ARCH}" ]; then sed -i -e
>>>>    's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize fi
>>> 
>>> This means it only applies for non-native packages. (native has
>>> BUILD_ARCH=TARGET_ARCH). The path to env is ${bindir} and this assists
>>> with things like the nativesdk packages where bindir != "/usr/bin".
>> Thanks for the explanation!
>> My understanding about "non-native package" is target recipe (in this case bindir=/usr/bin)
>> and -nativesdk recipe.
>> gnu-config_20080123.bb doesn't have -nativesdk version(BBCLASSEXTEND doesn't
>> contain nativesdk), so looks the sed replacement is useless at present?
> 
> Not useless but not heavily used directly in Poky at this time.
> DISTRO=minimal in OE for example sets exec_prefix="" so bindir
> becomes /bin.

Nitpick: that's DISTRO=micro



More information about the Openembedded-core mailing list