]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Add two variables for layer index
authorChong Lu <Chong.Lu@windriver.com>
Fri, 20 Feb 2015 17:44:05 +0000 (17:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Feb 2015 22:04:26 +0000 (22:04 +0000)
Add BBLAYERS_LAYERINDEX_URL variable that bitbake-layers can use to find layer index.
Add BBLAYERS_FETCH_DIR variable that bitbake-layers can use to specify fetch directory.

[YOCTO #5348]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index b5b54b781910cab9306d64d41fbc4172e81632bc..10ee42ab9a2e143a480ced0c52a25b1a7bf1b3f6 100644 (file)
@@ -550,6 +550,12 @@ SELECTED_OPTIMIZATION = "${@d.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION']
 SELECTED_OPTIMIZATION[vardeps] += "FULL_OPTIMIZATION DEBUG_OPTIMIZATION"
 BUILD_OPTIMIZATION = "-O2 -pipe"
 
+##################################################################
+# Settings used by bitbake-layers.
+##################################################################
+BBLAYERS_LAYERINDEX_URL ??= "http://layers.openembedded.org/layerindex/"
+BBLAYERS_FETCH_DIR ??= "${COREBASE}"
+
 ##################################################################
 # Download locations and utilities.
 ##################################################################