poky/meta/classes/devshell.bbclass
Richard Purdie 5977534d5f devshell.bbclass: export the FAKEROOTENV so it can be accessed within the devshell task
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-23 13:04:03 +01:00

24 lines
452 B
Plaintext

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
devshell_do_devshell() {
export TERMWINDOWTITLE="Bitbake Developer Shell"
${TERMCMD}
if [ $? -ne 0 ]; then
echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
exit 1
fi
}
addtask devshell after do_patch
EXPORT_FUNCTIONS do_devshell