meta-tizen-ivi/conf/global.conf: remove inheritance on rm_work
authorStephane Desneux <stephane.desneux@eurogiciel.fr>
Fri, 5 Apr 2013 16:58:12 +0000 (18:58 +0200)
committerStephane Desneux <stephane.desneux@eurogiciel.fr>
Fri, 5 Apr 2013 16:58:12 +0000 (18:58 +0200)
meta-tizen-ivi/conf/global.conf
meta-tizen-ivi/conf/local.conf.sample
yoctorc

index 52986b7..4d8832a 100644 (file)
@@ -218,9 +218,6 @@ BB_DISKMON_DIRS = "\
 #  file://.* file:///home/ronanguirec/Documents/yocto/sstate/PATH \
 #  "
 
-# remove work files when build succeeds
-INHERIT += "rm_work"
-
 #####################################################################
 
 # custom preferences for packages
@@ -229,5 +226,6 @@ PREFERRED_PROVIDER_coreutils = "tizen-coreutils"
 PREFERRED_PROVIDER_python-xml = "python-base"
 PREFERRED_PROVIDER_libpcre = "pcre"
 PREFERRED_VERSION_elfutils = "git"
+PREFERRED_VERSION_python = "git"
 
 
index ebd7012..0ba1e9c 100644 (file)
@@ -61,6 +61,12 @@ SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
 # this doesn't mean anything to you.
 CONF_VERSION = "1"
 
+#################################################
+
+# remove work files when build succeeds
+#INHERIT += "rm_work"
+
+
 TERMCMD = "${SCREEN_TERMCMD}"
 TERMCMDRUN = "${SCREEN_TERMCMDRUN}"
 
diff --git a/yoctorc b/yoctorc
index 625ad4d..ac45579 100644 (file)
--- a/yoctorc
+++ b/yoctorc
@@ -1,3 +1,7 @@
+# Yocto shortcut functions
+#
+# source this file manually or from bashrc
+
 # ----- customize here ----------
 
 YOCTODIR=/yocto
@@ -69,6 +73,14 @@ function ytmp () {
     ycd $pkg temp
 }
 
+function ydep () {
+    ycheck || return 1
+
+    pkg=${1:-$YOCTO_LAST_PKG}
+    [[ -z "pkg" ]] && { echo "Usage: ytmp <pkg>" >&2; return 1; }
+    bitbake -g -u depexp $pkg &
+}
+
 function yed() {
     ycheck || return 1