]> code.ossystems Code Review - openembedded-core.git/commitdiff
more local.conf rejigging
authorMatthew Allum <mallum@openedhand.com>
Wed, 31 Aug 2005 12:44:02 +0000 (12:44 +0000)
committerMatthew Allum <mallum@openedhand.com>
Wed, 31 Aug 2005 12:44:02 +0000 (12:44 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky@6 311d38ba-8fff-0310-9ca6-ca027cbcb966

build/conf/local.conf.sample [moved from build/conf/local.conf with 95% similarity]
openembedded/conf/local.conf.sample
setdevenv

similarity index 95%
rename from build/conf/local.conf
rename to build/conf/local.conf.sample
index 49d6fc7e1e14606d1f3fdf1eebb0527f3b1e7f71..f933fb183f526673166c97e50b16be43b47e7e12 100755 (executable)
@@ -1,6 +1,6 @@
 # Where to cache the files OE downloads
-DL_DIR = "/usr/oe/sources"
-BBFILES := "/usr/ohoe/openembedded/packages/*/*.bb"
+DL_DIR = "POKYROOT/sources"
+BBFILES := "POKYROOT/openembedded/packages/*/*.bb"
 
 BBMASK = ""
 PREFERRED_PROVIDERS = "virtual/qte:qte-for-opie virtual/libqpe:libqpe-opie"
index 489b0deb19e1ae79d5462959a571c6fe6d67e985..52a0d5f12078ce32204074ff0aa50ccde1edb5fa 100644 (file)
@@ -1,3 +1,8 @@
+# XXXX NOTE XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+#
+# This file is not used, see build/conf/local.conf instead
+#
+# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 #
 # OpenEmbedded local configuration file (sample)
 #
index 0c3c572fe04434ef75a6af28327fba72c152d46e..decbf6a30ff817cb8f97c2e2abc1311463caff37 100755 (executable)
--- a/setdevenv
+++ b/setdevenv
@@ -24,9 +24,9 @@ if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
     exit 1
 fi
 
-if !(test -r $PKGDIR/conf/local.conf); then
+if !(test -r $BUILDDIR/conf/local.conf); then
    echo "Setting up initial '$PKGDIR/conf/local.conf'."
-   cat $PKGDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|" > $PKGDIR/conf/local.conf
+   cat $BUILDDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|" > $BUILDDIR/conf/local.conf
 fi     
 
 BBPATH=$BBDIR