Skip to contentSkip to conversation

base.bbclass: Why is `oe_runmake install` not the default for `do_install()`?

DISCUSSION Paul Menzel 3 participants 3 messages May 30, 2011 – Jun 2, 2011

lore
Share & tools
lore
#0 lore raw

Dear OE folks,

editing the tiobench recipe I was wondering why do_install() has no default like oe_runmake install set in base.bbclass.

Thanks,

Paul

#1 lore raw
Quoted 5 lines · Paul Menzel

Dear OE folks,

editing the tiobench recipe I was wondering why do_install() has no default like oe_runmake install set in base.bbclass.

There's not a common enough way to make sure it tries to write to ${D} when we don't know what the build system is, other than someones Makefile.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#2 lore raw
Quoted 2 lines · Tom Rini

There's not a common enough way to make sure it tries to write to ${D} when we don't know what the build system is, other than someones Makefile.

Yeah, like Tom says -- with autoconf, we know we can use DESTDIR, but there's no standard mechanism for custom make-based buildsystems, and some don't have such a variable at all (until we patch them in).

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics