From c91caeea89845a88fa069db7218e6eb99843e2a0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 28 Nov 2010 17:42:36 +0000 Subject: devshell: Clean up devshell code so this task doesn't polute the global namespace Signed-off-by: Richard Purdie --- meta/classes/devshell.bbclass | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'meta') diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass index d08056bf11..4fb3e63d21 100644 --- a/meta/classes/devshell.bbclass +++ b/meta/classes/devshell.bbclass @@ -1,15 +1,14 @@ -EXTRA_OEMAKE[export] = "1" - do_devshell[dirs] = "${S}" do_devshell[nostamp] = "1" -export DISPLAY -export DBUS_SESSION_BUS_ADDRESS -export XAUTHORITY ?= "${HOME}/.Xauthority" -export FAKEROOTENV +XAUTHORITY ?= "${HOME}/.Xauthority" devshell_do_devshell() { + export DISPLAY='${DISPLAY}' + export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}' + export XAUTHORITY='${XAUTHORITY}' export TERMWINDOWTITLE="Bitbake Developer Shell" + export EXTRA_OEMAKE='${EXTRA_OEMAKE}' ${TERMCMD} if [ $? -ne 0 ]; then echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable." -- cgit v1.2.3