From f3be8e9a7df13cc11ffc8fc667efaf2db96a7c38 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 30 Jun 2011 23:02:53 -0700 Subject: bitbake: add -R option for loading configuration files after bitbake.conf Useful if you want to load a configuration file that sets values which may also be set in bitbake.conf or one of the files it includes. (Bitbake rev: a8246ae5400c23df0d3ee29c36f4d9f257d1e6d1) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bitbake/bin/bitbake') diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 29e9acd97a..2564e97123 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -118,7 +118,10 @@ Default BBFILES are the .bb files in the current directory.""") action = "store", dest = "cmd") parser.add_option("-r", "--read", help = "read the specified file before bitbake.conf", - action = "append", dest = "file", default = []) + action = "append", dest = "prefile", default = []) + + parser.add_option("-R", "--postread", help = "read the specified file after bitbake.conf", + action = "append", dest = "postfile", default = []) parser.add_option("-v", "--verbose", help = "output more chit-chat to the terminal", action = "store_true", dest = "verbose", default = False) -- cgit v1.2.3-54-g00ecf