* [PATCH] dtc: don't use autotools as this doesn't use autotools
@ 2014-12-05 20:46 Ross Burton
2014-12-06 11:00 ` Koen Kooi
0 siblings, 1 reply; 5+ messages in thread
From: Ross Burton @ 2014-12-05 20:46 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-kernel/dtc/dtc.inc | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
index 95023b6..0c409b0 100644
--- a/meta/recipes-kernel/dtc/dtc.inc
+++ b/meta/recipes-kernel/dtc/dtc.inc
@@ -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"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] dtc: don't use autotools as this doesn't use autotools
2014-12-05 20:46 [PATCH] dtc: don't use autotools as this doesn't use autotools Ross Burton
@ 2014-12-06 11:00 ` Koen Kooi
2014-12-07 1:38 ` Christopher Larson
0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2014-12-06 11:00 UTC (permalink / raw)
To: Ross Burton; +Cc: openembedded-core
> Op 5 dec. 2014, om 21:46 heeft Ross Burton <ross.burton@intel.com> het volgende geschreven:
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> meta/recipes-kernel/dtc/dtc.inc | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
> index 95023b6..0c409b0 100644
> --- a/meta/recipes-kernel/dtc/dtc.inc
> +++ b/meta/recipes-kernel/dtc/dtc.inc
[..]
> +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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dtc: don't use autotools as this doesn't use autotools
2014-12-06 11:00 ` Koen Kooi
@ 2014-12-07 1:38 ` Christopher Larson
2014-12-08 11:24 ` Burton, Ross
2014-12-08 11:51 ` Enrico Scholz
0 siblings, 2 replies; 5+ messages in thread
From: Christopher Larson @ 2014-12-07 1:38 UTC (permalink / raw)
To: Koen Kooi; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]
On Sat, Dec 6, 2014 at 4:00 AM, Koen Kooi <koen@dominion.thruhere.net>
wrote:
> > Op 5 dec. 2014, om 21:46 heeft Ross Burton <ross.burton@intel.com> het
> volgende geschreven:
> >
> > Signed-off-by: Ross Burton <ross.burton@intel.com>
> > ---
> > meta/recipes-kernel/dtc/dtc.inc | 8 +++++---
> > 1 file changed, 5 insertions(+), 3 deletions(-)
> >
> > diff --git a/meta/recipes-kernel/dtc/dtc.inc
> b/meta/recipes-kernel/dtc/dtc.inc
> > index 95023b6..0c409b0 100644
> > --- a/meta/recipes-kernel/dtc/dtc.inc
> > +++ b/meta/recipes-kernel/dtc/dtc.inc
>
> [..]
>
> > +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.
>
The problem with that is DESTDIR is an automake convention.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
[-- Attachment #2: Type: text/html, Size: 1669 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dtc: don't use autotools as this doesn't use autotools
2014-12-07 1:38 ` Christopher Larson
@ 2014-12-08 11:24 ` Burton, Ross
2014-12-08 11:51 ` Enrico Scholz
1 sibling, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2014-12-08 11:24 UTC (permalink / raw)
To: Christopher Larson
Cc: Koen Kooi, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
On 7 December 2014 at 01:38, Christopher Larson <clarson@kergoth.com> wrote:
> 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
[-- Attachment #2: Type: text/html, Size: 613 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dtc: don't use autotools as this doesn't use autotools
2014-12-07 1:38 ` Christopher Larson
2014-12-08 11:24 ` Burton, Ross
@ 2014-12-08 11:51 ` Enrico Scholz
1 sibling, 0 replies; 5+ messages in thread
From: Enrico Scholz @ 2014-12-08 11:51 UTC (permalink / raw)
To: openembedded-core
Christopher Larson <clarson-ZYzTKstmaoRBDgjK7y7TUQ@public.gmane.org>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-08 11:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-05 20:46 [PATCH] dtc: don't use autotools as this doesn't use autotools Ross Burton
2014-12-06 11:00 ` Koen Kooi
2014-12-07 1:38 ` Christopher Larson
2014-12-08 11:24 ` Burton, Ross
2014-12-08 11:51 ` Enrico Scholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox