* [PATCH] opkg-utils: extend to nativesdk
@ 2012-04-18 16:12 Jonas Danielsson
2012-04-18 16:56 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Jonas Danielsson @ 2012-04-18 16:12 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Jonas Danielsson <jonas.danielsson@lundinova.se>
---
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 4fe4038..eb42eae 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083"
RDEPENDS_${PN} = "python"
RDEPENDS_${PN}_virtclass-native = ""
+RDEPENDS_${PN}_virtclass-nativesdk = "python-nativesdk"
SRCREV = "16665959c330b5958c0f0f4624a9ca7f823f98de"
PV = "0.1.8+git${SRCPV}"
PR = "r1"
@@ -27,5 +28,5 @@ do_install() {
oe_runmake PREFIX=${prefix} DESTDIR=${D} install
}
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
TARGET_CC_ARCH += "${LDFLAGS}"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] opkg-utils: extend to nativesdk
2012-04-18 16:12 [PATCH] opkg-utils: extend to nativesdk Jonas Danielsson
@ 2012-04-18 16:56 ` Richard Purdie
2012-04-18 20:27 ` Jonas Danielsson
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2012-04-18 16:56 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2012-04-18 at 18:12 +0200, Jonas Danielsson wrote:
> Signed-off-by: Jonas Danielsson <jonas.danielsson@lundinova.se>
> ---
> meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
> index 4fe4038..eb42eae 100644
> --- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
> +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
> @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083"
> RDEPENDS_${PN} = "python"
> RDEPENDS_${PN}_virtclass-native = ""
> +RDEPENDS_${PN}_virtclass-nativesdk = "python-nativesdk"
Doesn't this happen automatically?
> SRCREV = "16665959c330b5958c0f0f4624a9ca7f823f98de"
> PV = "0.1.8+git${SRCPV}"
> PR = "r1"
> @@ -27,5 +28,5 @@ do_install() {
> oe_runmake PREFIX=${prefix} DESTDIR=${D} install
> }
>
> -BBCLASSEXTEND = "native"
> +BBCLASSEXTEND = "native nativesdk"
> TARGET_CC_ARCH += "${LDFLAGS}"
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] opkg-utils: extend to nativesdk
2012-04-18 16:56 ` Richard Purdie
@ 2012-04-18 20:27 ` Jonas Danielsson
0 siblings, 0 replies; 3+ messages in thread
From: Jonas Danielsson @ 2012-04-18 20:27 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, Apr 18, 2012 at 05:56:41PM +0100, Richard Purdie wrote:
> On Wed, 2012-04-18 at 18:12 +0200, Jonas Danielsson wrote:
> > Signed-off-by: Jonas Danielsson <jonas.danielsson@lundinova.se>
> > ---
> > meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 3 ++-
> > 1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
> > index 4fe4038..eb42eae 100644
> > --- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
> > +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
> > @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> > file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083"
> > RDEPENDS_${PN} = "python"
> > RDEPENDS_${PN}_virtclass-native = ""
> > +RDEPENDS_${PN}_virtclass-nativesdk = "python-nativesdk"
>
> Doesn't this happen automatically?
>
I am not a terribly experienced oe developer so I had an hard time figuring
that out :) Maybe someone here can help me with it.
When I did not have it and did 'bitbake -g opkg-utils-nativesdk' then
used grep on the resulting pn-depends.dot file I got:
"opkg-utils-nativesdk" -> "python" [style=dashed]
And doing the same procedure without it I got:
"opkg-utils-nativesdk" -> "python-nativesdk" [style=dashed]
But my toolchain works either way because python-nativesdk gets in
through: "gdb-cross-canadian-arm" -> "python-nativesdk"
So I'm not sure, is it needed or not?
> > SRCREV = "16665959c330b5958c0f0f4624a9ca7f823f98de"
> > PV = "0.1.8+git${SRCPV}"
> > PR = "r1"
> > @@ -27,5 +28,5 @@ do_install() {
> > oe_runmake PREFIX=${prefix} DESTDIR=${D} install
> > }
> >
> > -BBCLASSEXTEND = "native"
> > +BBCLASSEXTEND = "native nativesdk"
> > TARGET_CC_ARCH += "${LDFLAGS}"
>
> Cheers,
>
> Richard
>
Thanks!
Jonas
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-18 20:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 16:12 [PATCH] opkg-utils: extend to nativesdk Jonas Danielsson
2012-04-18 16:56 ` Richard Purdie
2012-04-18 20:27 ` Jonas Danielsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox