Don't let the recipe override the config by using ??=

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2012-08-01 15:37:09 -07:00
parent 5fa28da0e0
commit 4a435f9181
2 changed files with 5 additions and 5 deletions

View File

@@ -5,5 +5,5 @@ PREFERRED_PROVIDER_virtual/libiconv = "eglibc-sourcery"
PREFERRED_PROVIDER_virtual/libintl = "eglibc-sourcery"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "eglibc-sourcery"
PREFERRED_PROVIDER_eglibc = "eglibc-sourcery"
CSL_SRC_URI ??= "file://${CSL_SRC_FILE}"
CSL_SRC_FILE ??= "${@bb.fatal('Please set CSL_SRC_FILE to the path to your sourcery src tarball')}"
CSL_SRC_URI ?= "file://${CSL_SRC_FILE}"
CSL_SRC_FILE ?= "${@bb.fatal('Please set CSL_SRC_FILE to the path to your sourcery src tarball')}"

View File

@@ -5,7 +5,7 @@ PROVIDES += "eglibc"
TOOLCHAIN_OPTIONS = ""
# sourceryg++-${CSL_VER_MAIN}-${CSL_TARGET_SYS}.src.tar.bz2
CSL_SRC_URI ??= ""
CSL_SRC_URI ?= ""
SRC_URI = "${CSL_SRC_URI} \
file://etc/ld.so.conf \
file://generate-supported.mk"
@@ -56,8 +56,8 @@ do_configure () {
require recipes/eglibc/eglibc-package-adjusted.inc
CSL_VER_MAIN ??= ""
CSL_VER_LIBC ??= ""
CSL_VER_MAIN ?= ""
CSL_VER_LIBC ?= ""
python () {
if not d.getVar("CSL_VER_MAIN"):