All of lore.kernel.org
 help / color / mirror / Atom feed
* recipe simplification questions
@ 2010-09-08 17:41 Frans Meulenbroeks
  2010-09-08 17:49 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Frans Meulenbroeks @ 2010-09-08 17:41 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-08 19:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08 17:41 recipe simplification questions Frans Meulenbroeks
2010-09-08 17:49 ` Khem Raj
2010-09-08 18:40   ` Tom Rini
2010-09-08 18:48     ` Frans Meulenbroeks
2010-09-08 19:08       ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.