summaryrefslogtreecommitdiff
path: root/meta/classes/devshell.bbclass
blob: 2944dbbfc25a47d2126f9c8fd0a4f1152bef8fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
EXTRA_OEMAKE[export] = "1"

do_devshell[dirs] = "${S}"
do_devshell[nostamp] = "1"

export DISPLAY
export XAUTHORITY

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