[oe] recipe simplification questions
Frans Meulenbroeks
fransmeulenbroeks at gmail.com
Wed Sep 8 17:41:36 UTC 2010
Hi
While browsing through a recipe I stumbled upon the following two functions:
inherit autotools
do_configure() {
oe_runconf
}
do_install() {
make install DESTDIR=${D}
}
Two questions:
1) does a do_configure like above have any use?
I would expect it to be the default case in case of autotools
2) the make install line I have seen on several places.
Isn't it more elegant/simpler to just say
EXTRA_OEMAKE = "DESTDIR=${D}" and remove the whole do_install function?
Frans
More information about the Openembedded-devel
mailing list