dtc: don't use autotools as this doesn't use autotools
PATCH 1/1 dtc: don't use autotools as this doesn't use autotools
--- meta/recipes-kernel/dtc/dtc.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
meta/recipes-kernel/dtc/dtc.inc +5 -3
@@ -4,16 +4,18 @@ SECTION = "bootloader" LICENSE = "GPLv2 | BSD" DEPENDS = "flex-native bison-native" -inherit autotools-brokensep - SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \ file://make_install.patch \ " -EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"' +EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}"' S = "${WORKDIR}/git" +do_install () { + oe_runmake install +} + PACKAGES =+ "${PN}-misc" FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
Signature · 1 line
1.7.10.4
Quoted 12 lines
Op 5 dec. 2014, om 21:46 heeft Ross Burton <[email protected]> het volgende geschreven:
Signed-off-by Ross Burton <[email protected]>---
meta/recipes-kernel/dtc/dtc.inc | 8 +++++---1 file changed, 5 insertions(+), 3 deletions(-)meta/recipes-kernel/dtc/dtc.inc +0
-0
[..]
meta/recipes-kernel/dtc/dtc.inc SECTION = "bootloader" · line 17
Quoted 3 lines
meta/recipes-kernel/dtc/dtc.inc +3
-0+do_install () { + oe_runmake install +}
I'm wondering if it makes sense to have base.bbclass do this the default do_install. Having a virtually empty recipe with only a do_install always makes me a bit uneasy.
regards,
Koen
Quoted 16 lines · Koen Kooi
Quoted 1 line
Op 5 dec. 2014, om 21:46 heeft Ross Burton <[email protected]> het
volgende geschreven:
Review
Quoted 7 lines
Signed-off-by Ross Burton <[email protected]>---
meta/recipes-kernel/dtc/dtc.inc | 8 +++++---1 file changed, 5 insertions(+), 3 deletions(-)(quoted diff) +0
-0b/meta/recipes-kernel/dtc/dtc.inc
Quoted 3 lines
index 95023b6..0c409b0 100644
meta/recipes-kernel/dtc/dtc.inc +0
-0[..]
Quoted 8 lines
meta/recipes-kernel/dtc/dtc.inc SECTION = "bootloader" · line 17
Quoted 3 lines
meta/recipes-kernel/dtc/dtc.inc +3
-0+do_install () { + oe_runmake install +}I'm wondering if it makes sense to have base.bbclass do this the default
do_install. Having a virtually empty recipe with only ado_installalways makes me a bit uneasy.
The problem with that is DESTDIR is an automake convention.
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Quoted 2 lines · Christopher Larson
The problem with that is DESTDIR is an automake convention.
Yes, outside of automake there's just too much variety to make providing defaults useful.
Ross
Christopher Larson <[email protected]>
Quoted 1 line · writes:
The problem with that is DESTDIR is an automake convention.
Not only automake, it is part of the "GNU coding standards" (--> info standards).
Enrico