[yocto] Can't override task from bbclass with - in its name

Vuille, Martin (Martin) vmartin at avaya.com
Sun Oct 26 08:15:47 PDT 2014


I have custom classes that override a task thus (in foo.bbclass)

	foo_do_something () {
		...
	}

	EXPORT_FUNCTIONS do_something

but if I change the name to foo-bar.bbclass and change the class thus

	foo-bar_do_something () {
		...
	}

	EXPORT_FUNCTIONS do_something

then building fails with "foo-bar_do_something: not found" and, sure enough,
run.do_something does not contain the definition of foo-bar_do_something.

Is this a known issue?

MV




More information about the yocto mailing list