weekly-changelog-report: make script more general
[openembedded.git] / classes / devshell.bbclass
blob9327b55d0af914c5646b8dc54f98f938d33ab314
1 EXTRA_OEMAKE[export] = "1"
3 do_devshell[dirs] = "${S}"
4 do_devshell[nostamp] = "1"
6 export DISPLAY
7 export DBUS_SESSION_BUS_ADDRESS
8 export XAUTHORITY ?= "${HOME}/.Xauthority"
10 devshell_do_devshell() {
11         export TERMWINDOWTITLE="Bitbake Developer Shell"
12         ${TERMCMD}
13         if [ $? -ne 0 ]; then
14             echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
15             exit 1
16         fi
18 addtask devshell after do_patch
21 EXPORT_FUNCTIONS do_devshell