* [PATCH 0/3] mtools, syslinux: add ability to compile with nativesdk
@ 2013-12-03 10:27 Hongxu Jia
2013-12-03 10:27 ` [PATCH 1/3] mtools: " Hongxu Jia
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Hongxu Jia @ 2013-12-03 10:27 UTC (permalink / raw)
To: openembedded-core; +Cc: saul.wold
The following changes since commit a17ffbdbb7d142a94ef842a32b749b18e2e7f0a1:
bitbake: hob: fix rotating progress icon animation (2013-12-02 17:51:35 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib hongxu/fix-mtools
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-mtools
Hongxu Jia (3):
mtools: add ability to compile with nativesdk
syslinux: add ability to compile with nativesdk
eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC
statement
meta/recipes-core/eglibc/eglibc-locale.inc | 6 ++++++
meta/recipes-devtools/mtools/mtools_3.9.9.bb | 2 +-
meta/recipes-devtools/mtools/mtools_4.0.18.bb | 2 +-
meta/recipes-devtools/syslinux/syslinux_6.01.bb | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)
--
1.8.1.2
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 1/3] mtools: add ability to compile with nativesdk 2013-12-03 10:27 [PATCH 0/3] mtools, syslinux: add ability to compile with nativesdk Hongxu Jia @ 2013-12-03 10:27 ` Hongxu Jia 2013-12-03 10:27 ` [PATCH 2/3] syslinux: " Hongxu Jia 2013-12-03 10:27 ` [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement Hongxu Jia 2 siblings, 0 replies; 7+ messages in thread From: Hongxu Jia @ 2013-12-03 10:27 UTC (permalink / raw) To: openembedded-core; +Cc: saul.wold For regenerating and ISO or EFI boot image the nativesdk needs mtools. [YOCTO #5623] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta/recipes-devtools/mtools/mtools_3.9.9.bb | 2 +- meta/recipes-devtools/mtools/mtools_4.0.18.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/mtools/mtools_3.9.9.bb b/meta/recipes-devtools/mtools/mtools_3.9.9.bb index 2213c17..38f09de 100644 --- a/meta/recipes-devtools/mtools/mtools_3.9.9.bb +++ b/meta/recipes-devtools/mtools/mtools_3.9.9.bb @@ -44,4 +44,4 @@ EXTRA_OECONF = "--without-x" PARALLEL_MAKEINST = "" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb index dcd6066..0cc7f6c 100644 --- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb +++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb @@ -37,4 +37,4 @@ EXTRA_OECONF = "--without-x" PARALLEL_MAKEINST = "" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] syslinux: add ability to compile with nativesdk 2013-12-03 10:27 [PATCH 0/3] mtools, syslinux: add ability to compile with nativesdk Hongxu Jia 2013-12-03 10:27 ` [PATCH 1/3] mtools: " Hongxu Jia @ 2013-12-03 10:27 ` Hongxu Jia 2013-12-03 10:27 ` [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement Hongxu Jia 2 siblings, 0 replies; 7+ messages in thread From: Hongxu Jia @ 2013-12-03 10:27 UTC (permalink / raw) To: openembedded-core; +Cc: saul.wold For regenerating and ISO or EFI boot image the nativesdk needs mtools and syslinux. [YOCTO #5623] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta/recipes-devtools/syslinux/syslinux_6.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/syslinux/syslinux_6.01.bb b/meta/recipes-devtools/syslinux/syslinux_6.01.bb index 538be56..1c240de 100644 --- a/meta/recipes-devtools/syslinux/syslinux_6.01.bb +++ b/meta/recipes-devtools/syslinux/syslinux_6.01.bb @@ -65,4 +65,4 @@ FILES_${PN}-dev += "${datadir}/${BPN}/com32/lib*${SOLIBS} ${datadir}/${BPN}/com3 FILES_${PN}-staticdev += "${datadir}/${BPN}/com32/lib*.a ${libdir}/${BPN}/com32/lib*.a" FILES_${PN}-misc = "${datadir}/${BPN}/* ${libdir}/${BPN}/* ${bindir}/*" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement 2013-12-03 10:27 [PATCH 0/3] mtools, syslinux: add ability to compile with nativesdk Hongxu Jia 2013-12-03 10:27 ` [PATCH 1/3] mtools: " Hongxu Jia 2013-12-03 10:27 ` [PATCH 2/3] syslinux: " Hongxu Jia @ 2013-12-03 10:27 ` Hongxu Jia 2013-12-03 12:14 ` Richard Purdie 2 siblings, 1 reply; 7+ messages in thread From: Hongxu Jia @ 2013-12-03 10:27 UTC (permalink / raw) To: openembedded-core; +Cc: saul.wold While compiling nativesdk-mtools, there was failure: ... Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches: ... Using nativesdk override with the PACKAGES_DYNAMIC statement fixed this issue. [YOCTO #5623] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta/recipes-core/eglibc/eglibc-locale.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc index 83569da..5e256a5 100644 --- a/meta/recipes-core/eglibc/eglibc-locale.inc +++ b/meta/recipes-core/eglibc/eglibc-locale.inc @@ -35,6 +35,12 @@ PACKAGES_DYNAMIC = "^locale-base-.* \ ^eglibc-gconv-.* ^eglibc-charmap-.* ^eglibc-localedata-.* ^eglibc-binary-localedata-.* \ ^glibc-gconv-.* ^glibc-charmap-.* ^glibc-localedata-.* ^glibc-binary-localedata-.*" +PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-locale-base-.* \ + ^nativesdk-eglibc-gconv-.* ^nativesdk-eglibc-charmap-.* \ + ^nativesdk-eglibc-localedata-.* ^nativesdk-eglibc-binary-localedata-.* \ + ^nativesdk-glibc-gconv-.* ^nativesdk-glibc-charmap-.* \ + ^nativesdk-glibc-localedata-.* ^nativesdk-glibc-binary-localedata-.*" + # Create a eglibc-binaries package ALLOW_EMPTY_${BPN}-binaries = "1" PACKAGES += "${BPN}-binaries" -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement 2013-12-03 10:27 ` [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement Hongxu Jia @ 2013-12-03 12:14 ` Richard Purdie 2013-12-04 3:15 ` Hongxu Jia 0 siblings, 1 reply; 7+ messages in thread From: Richard Purdie @ 2013-12-03 12:14 UTC (permalink / raw) To: Hongxu Jia; +Cc: saul.wold, openembedded-core On Tue, 2013-12-03 at 18:27 +0800, Hongxu Jia wrote: > While compiling nativesdk-mtools, there was failure: > ... > Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches: > ... > > Using nativesdk override with the PACKAGES_DYNAMIC statement fixed this issue. > > [YOCTO #5623] > > Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> > --- > meta/recipes-core/eglibc/eglibc-locale.inc | 6 ++++++ > 1 file changed, 6 insertions(+) No. lib/oe/classextend.py has a map_regexp_variable() function which is called from classes/multilib.bbclass: clsextend.map_regexp_variable("PACKAGES_DYNAMIC") Perhaps such a line should be added to nativesdk.bbclass to fix this properly instead? Cheers, Richard > diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc > index 83569da..5e256a5 100644 > --- a/meta/recipes-core/eglibc/eglibc-locale.inc > +++ b/meta/recipes-core/eglibc/eglibc-locale.inc > @@ -35,6 +35,12 @@ PACKAGES_DYNAMIC = "^locale-base-.* \ > ^eglibc-gconv-.* ^eglibc-charmap-.* ^eglibc-localedata-.* ^eglibc-binary-localedata-.* \ > ^glibc-gconv-.* ^glibc-charmap-.* ^glibc-localedata-.* ^glibc-binary-localedata-.*" > > +PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-locale-base-.* \ > + ^nativesdk-eglibc-gconv-.* ^nativesdk-eglibc-charmap-.* \ > + ^nativesdk-eglibc-localedata-.* ^nativesdk-eglibc-binary-localedata-.* \ > + ^nativesdk-glibc-gconv-.* ^nativesdk-glibc-charmap-.* \ > + ^nativesdk-glibc-localedata-.* ^nativesdk-glibc-binary-localedata-.*" > + > # Create a eglibc-binaries package > ALLOW_EMPTY_${BPN}-binaries = "1" > PACKAGES += "${BPN}-binaries" ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement 2013-12-03 12:14 ` Richard Purdie @ 2013-12-04 3:15 ` Hongxu Jia 2013-12-10 4:39 ` Saul Wold 0 siblings, 1 reply; 7+ messages in thread From: Hongxu Jia @ 2013-12-04 3:15 UTC (permalink / raw) To: Richard Purdie; +Cc: saul.wold, openembedded-core Hi Richard, I have updated this patch as your suggestion, and it works well. nativesdk.bbclass: support nativesdk to override with the PACKAGES_DYNAMIC statement While compiling nativesdk-mtools, there was failure: ... Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches: ... This patch supports nativesdk to override with the PACKAGES_DYNAMIC statement [YOCTO #5623] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 94bc326..21a69c7 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -81,6 +81,7 @@ python () { clsextend.map_depends_variable("DEPENDS") clsextend.map_packagevars() clsextend.map_variable("PROVIDES") + clsextend.map_regexp_variable("PACKAGES_DYNAMIC") } //Hongxu On 12/03/2013 08:14 PM, Richard Purdie wrote: > On Tue, 2013-12-03 at 18:27 +0800, Hongxu Jia wrote: >> While compiling nativesdk-mtools, there was failure: >> ... >> Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches: >> ... >> >> Using nativesdk override with the PACKAGES_DYNAMIC statement fixed this issue. >> >> [YOCTO #5623] >> >> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> >> --- >> meta/recipes-core/eglibc/eglibc-locale.inc | 6 ++++++ >> 1 file changed, 6 insertions(+) > No. > > lib/oe/classextend.py has a map_regexp_variable() function which is > called from classes/multilib.bbclass: > > clsextend.map_regexp_variable("PACKAGES_DYNAMIC") > > Perhaps such a line should be added to nativesdk.bbclass to fix this > properly instead? > > Cheers, > > Richard > >> diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc >> index 83569da..5e256a5 100644 >> --- a/meta/recipes-core/eglibc/eglibc-locale.inc >> +++ b/meta/recipes-core/eglibc/eglibc-locale.inc >> @@ -35,6 +35,12 @@ PACKAGES_DYNAMIC = "^locale-base-.* \ >> ^eglibc-gconv-.* ^eglibc-charmap-.* ^eglibc-localedata-.* ^eglibc-binary-localedata-.* \ >> ^glibc-gconv-.* ^glibc-charmap-.* ^glibc-localedata-.* ^glibc-binary-localedata-.*" >> >> +PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-locale-base-.* \ >> + ^nativesdk-eglibc-gconv-.* ^nativesdk-eglibc-charmap-.* \ >> + ^nativesdk-eglibc-localedata-.* ^nativesdk-eglibc-binary-localedata-.* \ >> + ^nativesdk-glibc-gconv-.* ^nativesdk-glibc-charmap-.* \ >> + ^nativesdk-glibc-localedata-.* ^nativesdk-glibc-binary-localedata-.*" >> + >> # Create a eglibc-binaries package >> ALLOW_EMPTY_${BPN}-binaries = "1" >> PACKAGES += "${BPN}-binaries" > ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement 2013-12-04 3:15 ` Hongxu Jia @ 2013-12-10 4:39 ` Saul Wold 0 siblings, 0 replies; 7+ messages in thread From: Saul Wold @ 2013-12-10 4:39 UTC (permalink / raw) To: Hongxu Jia, Richard Purdie; +Cc: openembedded-core On 12/03/2013 07:15 PM, Hongxu Jia wrote: > Hi Richard, > > I have updated this patch as your suggestion, and it works well. > > nativesdk.bbclass: support nativesdk to override with the > PACKAGES_DYNAMIC statement > > While compiling nativesdk-mtools, there was failure: > ... > Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches: > ... > This patch supports nativesdk to override with the PACKAGES_DYNAMIC > statement > > [YOCTO #5623] > Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> > In the future, please resend changes like this as a V2, we pulled the mtools change only to find that we did not have the correct nativesdk patch since it was not posted. We have since found this patch in your branch and pulled it to master. Thanks Sau! > diff --git a/meta/classes/nativesdk.bbclass > b/meta/classes/nativesdk.bbclass > index 94bc326..21a69c7 100644 > --- a/meta/classes/nativesdk.bbclass > +++ b/meta/classes/nativesdk.bbclass > @@ -81,6 +81,7 @@ python () { > clsextend.map_depends_variable("DEPENDS") > clsextend.map_packagevars() > clsextend.map_variable("PROVIDES") > + clsextend.map_regexp_variable("PACKAGES_DYNAMIC") > } > > //Hongxu > > On 12/03/2013 08:14 PM, Richard Purdie wrote: >> On Tue, 2013-12-03 at 18:27 +0800, Hongxu Jia wrote: >>> While compiling nativesdk-mtools, there was failure: >>> ... >>> Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches: >>> ... >>> >>> Using nativesdk override with the PACKAGES_DYNAMIC statement fixed >>> this issue. >>> >>> [YOCTO #5623] >>> >>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> >>> --- >>> meta/recipes-core/eglibc/eglibc-locale.inc | 6 ++++++ >>> 1 file changed, 6 insertions(+) >> No. >> >> lib/oe/classextend.py has a map_regexp_variable() function which is >> called from classes/multilib.bbclass: >> >> clsextend.map_regexp_variable("PACKAGES_DYNAMIC") >> >> Perhaps such a line should be added to nativesdk.bbclass to fix this >> properly instead? >> >> Cheers, >> >> Richard >> >>> diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc >>> b/meta/recipes-core/eglibc/eglibc-locale.inc >>> index 83569da..5e256a5 100644 >>> --- a/meta/recipes-core/eglibc/eglibc-locale.inc >>> +++ b/meta/recipes-core/eglibc/eglibc-locale.inc >>> @@ -35,6 +35,12 @@ PACKAGES_DYNAMIC = "^locale-base-.* \ >>> ^eglibc-gconv-.* ^eglibc-charmap-.* >>> ^eglibc-localedata-.* ^eglibc-binary-localedata-.* \ >>> ^glibc-gconv-.* ^glibc-charmap-.* >>> ^glibc-localedata-.* ^glibc-binary-localedata-.*" >>> +PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-locale-base-.* \ >>> + ^nativesdk-eglibc-gconv-.* >>> ^nativesdk-eglibc-charmap-.* \ >>> + ^nativesdk-eglibc-localedata-.* >>> ^nativesdk-eglibc-binary-localedata-.* \ >>> + ^nativesdk-glibc-gconv-.* >>> ^nativesdk-glibc-charmap-.* \ >>> + ^nativesdk-glibc-localedata-.* >>> ^nativesdk-glibc-binary-localedata-.*" >>> + >>> # Create a eglibc-binaries package >>> ALLOW_EMPTY_${BPN}-binaries = "1" >>> PACKAGES += "${BPN}-binaries" >> > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-12-10 4:39 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-12-03 10:27 [PATCH 0/3] mtools, syslinux: add ability to compile with nativesdk Hongxu Jia 2013-12-03 10:27 ` [PATCH 1/3] mtools: " Hongxu Jia 2013-12-03 10:27 ` [PATCH 2/3] syslinux: " Hongxu Jia 2013-12-03 10:27 ` [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement Hongxu Jia 2013-12-03 12:14 ` Richard Purdie 2013-12-04 3:15 ` Hongxu Jia 2013-12-10 4:39 ` Saul Wold
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox