Patchwork [1/1] bitbake.conf: update way to set default ROOT_HOME

login
register
mail settings
Submitter Kang Kai
Date May 10, 2013, 6:47 a.m.
Message ID <dca4bfa41af99d5e4bb2711c936e3300556d6fdb.1368168238.git.kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/49683/
State Accepted
Commit a86b00651f825c51e381b2e009269d014486cd55
Headers show

Comments

Kang Kai - May 10, 2013, 6:47 a.m.
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>
---
 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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.