summaryrefslogtreecommitdiff
path: root/meta/classes/cml1.bbclass
blob: a747af5e4dd9791695a22d1a81cb9d0ac25ef40d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cml1_do_configure() {
	set -e
	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
	oe_runmake oldconfig
}

EXPORT_FUNCTIONS do_configure
addtask configure after do_unpack do_patch before do_compile

do_menuconfig() {
	export TERMWINDOWTITLE="${PN} Configuration"
	export SHELLCMDS="make menuconfig"
	${TERMCMDRUN}
	if [ $? -ne 0 ]; then
		oefatal "'${TERMCMD}' not found. Check TERMCMD variable."
	fi
}
do_menuconfig[nostamp] = "1"
addtask menuconfig after do_configure