[oe] [RFC] do we really need all OVERRIDES in FILESPATH?
Koen Kooi
k.kooi at student.utwente.nl
Mon Oct 18 07:21:34 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 17-10-10 23:15, Martin Jansa wrote:
> Currently
> bitbake -e -b xserver-xorg-conf_0.1.bb | grep ^FILESPATH= | sed "s/:/\n/g" | wc -l
> shows 65 directories where file:// from SRC_URI can be found.
>
> base_do_unpack is looking for first directory where requested file
> exists. Most files are IMHO found in FILESPATHPKG PN, files or P
> (without an override used)
>
> Number of directories tried before
> PN: 38
> files: 51
> P: 25
>
> I see many recipes really using that MACHINE or DISTRO is in FILESPATH,
> few users of TARGET_ARCH and quick find/grep doesn't show any users of
> other OVERRIDES in FILESPATH.
>
> BTW: ie initscripts have initscripts/files/arm/alignment.sh but that's only
> alignment.sh and SRC_URI_append_arm = " file://alignment.sh" would work
> ok even without arm in FILESPATH.
>
> What about using only ${TARGET_ARCH}:${DISTRO}:${MACHINE} in FILESPATH
> instead all OVERRIDES?
At least I additionally need BASE_PACKAGE_ARCH and SOC_FAMILY in it and
sometimes libc-$LIBC.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMu/V+MkyGM64RGpERAk8TAKCNwmBmVhDmFC0jzhrxWVo3WxI9iwCfRrGd
03R+AyA6hh/3vtl/OBdnbkc=
=iUyw
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list