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:16 +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.

(From OE-Core rev: 902d3fa57d4659ee12aac80246dcaca5c45f9d8c)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index 8d4ccce..86a4831 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.