[poky] Please ensure you are using layout variables in recipes

Joshua Lock josh at linux.intel.com
Tue Jan 25 04:35:16 PST 2011


Hi all,

When creating/editing recipes can we please ensure consistent use of
layout variables, rather than absolute paths.

For example use:

${bindir}/foo
${datadir}/bar
and
${base_sbindir}/baz

rather than:

/usr/bin/foo
/usr/share/bar
and
/sbin/baz

The layout variables are defined in bitbake.conf and we should have
pretty much everything we need there, if you feel some are missing
please submit a patch (we've recently added some for cross and nativesdk
use, for example).

Thanks,
Joshua
-- 
Joshua Lock
        Intel Open Source Technology Centre




More information about the poky mailing list