[oe] [RFC] A case of distro config overriding DISTRO var

Paul Sokolovsky pmiscml at gmail.com
Mon Jan 28 23:16:35 UTC 2008


Hello,

I'd like to know what's the idea behind overriding DISTRO var from the
value being set by user? For example, angstrom.inc does:

DISTRO = "angstrom" 

The problem with is that real distro name is lost, as thus
cannot be passed to some other tool (e.g., bbimage).

If there're good reasons to do that, and we would be lazy enough to
convert to something like: DISTRO_FOO = "${DISTRO}" in bitbake.conf,
and let those good reasons apply to DISTRO_FOO, which must replace
DISTRO in the appropriate places, then I at least propose to do:

DISTRO_ORIGINAL := "${DISTRO}"

in bitbake.conf, so we always have real distro config name handy.


-- 
Best regards,
 Paul                          mailto:pmiscml at gmail.com




More information about the Openembedded-devel mailing list