]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: update way to set default ROOT_HOME
authorKang Kai <kai.kang@windriver.com>
Fri, 10 May 2013 06:47:39 +0000 (14:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 May 2013 10:37:13 +0000 (11:37 +0100)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index 8d4ccce243cf8385452edff8515c8bb3784ba882..86a4831179622b7578669d8e8310a4cfed78ca01 100644 (file)
@@ -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.