From b9e4b25300b451df273a4d64aef4530b8ec18fbc Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 12 Feb 2008 17:56:42 +0000 Subject: bitbake.conf, image.bbclass: Add and use USERDISTRO var to preserve original DISTRO value. * Some distros override DISTRO var to hack overrides right, etc. Yet, original value may be needed sometimes. For example, bbimage expects DISTRO to be what user set/passed it, not something else. * TODO: After interim cleanup during preparation of this patch, it turns out that angstrom is the only distro to (ab)use DISTRO overriding. It may make sense to instead get its OVERRIDES value right. --- conf/distro/include/angstrom.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf/distro/include') diff --git a/conf/distro/include/angstrom.inc b/conf/distro/include/angstrom.inc index fe216800c3..6ba20c4830 100644 --- a/conf/distro/include/angstrom.inc +++ b/conf/distro/include/angstrom.inc @@ -2,6 +2,8 @@ #@NAME: Angstrom #@DESCRIPTION: Release independent distribution configuration for Angstrom +# Preserve original DISTRO value +USERDISTRO := "${DISTRO}" DISTRO = "angstrom" DISTRO_NAME = "Angstrom" -- cgit v1.2.3