summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-09 15:02:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-10 12:07:29 +0000
commit4c4498c38232a832bdbfadf54d2e1bf4bc34b171 (patch)
tree7656c02dff72462670fb0f06400d231904b2978e
parent1053a6a8e15851ef139d8aa4683849fc2fc277e1 (diff)
downloadopenembedded-core-4c4498c38232a832bdbfadf54d2e1bf4bc34b171.tar.gz
openembedded-core-4c4498c38232a832bdbfadf54d2e1bf4bc34b171.tar.bz2
openembedded-core-4c4498c38232a832bdbfadf54d2e1bf4bc34b171.tar.xz
openembedded-core-4c4498c38232a832bdbfadf54d2e1bf4bc34b171.zip
bitbake.conf: Unload pseudo when its not required for a given task
This yields a small performance boost due to the lack of the preload overhead on each task execution. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 7e75be2d7..0d6b3b883 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -586,6 +586,7 @@ export PSEUDO_DISABLED = "1"
#export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}"
#export PSEUDO_LIBDIR = "${STAGING_DIR_NATIVE}$PSEUDOBINDIR/../lib/pseudo/lib
FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${STAGING_DIR_TARGET} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0"
+FAKEROOTNOENV = "PSEUDO_UNLOAD=1"
FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}"
PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"