[OE-core] [PATCH 1/1] bitbake.conf: update way to set default ROOT_HOME

Kang Kai kai.kang at windriver.com
Fri May 10 06:47:39 UTC 2013


Use "??=" to set default ROOT_HOME. It can be overwrote by developer
with "?=" in any layer and at same time it also can be overwrote in
local.conf.

Signed-off-by: Kang Kai <kai.kang at windriver.com>
---
 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8d4ccce..86a4831 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -75,7 +75,7 @@ USRBINPATH_class-native = "/usr/bin"
 USRBINPATH_class-nativesdk = "/usr/bin"
 
 # Root home directory
-ROOT_HOME ?= "/home/root"
+ROOT_HOME ??= "/home/root"
 
 ##################################################################
 # Architecture-dependent build variables.
-- 
1.7.5.4





More information about the Openembedded-core mailing list