From: Jason Wessel <jason.wessel@windriver.com>
To: <Openembedded-core@lists.openembedded.org>
Subject: [PATCH] mtools, syslinux: add ability to compile with nativesdk
Date: Wed, 30 Oct 2013 17:48:11 -0500 [thread overview]
Message-ID: <1383173291-4017-1-git-send-email-jason.wessel@windriver.com> (raw)
For regenerating and ISO or EFI boot image the nativesdk needs mtools
and syslinux.
Both recipes are patched in one patch since syslinux requires
mtools.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
---
meta/recipes-devtools/mtools/mtools_3.9.9.bb | 9 +++++++--
meta/recipes-devtools/mtools/mtools_4.0.18.bb | 12 +++++++++---
meta/recipes-devtools/syslinux/syslinux_6.01.bb | 2 +-
3 files changed, 17 insertions(+), 6 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..8678a8b 100644
--- a/meta/recipes-devtools/mtools/mtools_3.9.9.bb
+++ b/meta/recipes-devtools/mtools/mtools_3.9.9.bb
@@ -9,8 +9,12 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=92b58ec77696788ce278b044d2a8e9d3"
PR = "r6"
-RDEPENDS_${PN} = "glibc-gconv-ibm850"
-RRECOMMENDS_${PN} = "\
+targetdepgconv = ""
+targetdepgconv_class-target = "glibc-gconv-ibm850"
+RDEPENDS_${PN} = "${targetdepgconv}"
+
+targetrecgconv = ""
+targetrecgconv_class-target = "\
glibc-gconv-ibm437 \
glibc-gconv-ibm737 \
glibc-gconv-ibm775 \
@@ -26,6 +30,7 @@ RRECOMMENDS_${PN} = "\
glibc-gconv-ibm866 \
glibc-gconv-ibm869 \
"
+RRECOMMENDS_${PN} = "${targetrecgconv}"
#http://mtools.linux.lu/mtools-${PV}.tar.gz
SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/mtools-${PV}.tar.gz \
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
index dcd6066..602b3c0 100644
--- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb
+++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
@@ -6,8 +6,12 @@ LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-RDEPENDS_${PN} = "glibc-gconv-ibm850"
-RRECOMMENDS_${PN} = "\
+targetdepgconv = ""
+targetdepgconv_class-target = "glibc-gconv-ibm850"
+RDEPENDS_${PN} = "${targetdepgconv}"
+
+targetrecgconv = ""
+targetrecgconv_class-target = "\
glibc-gconv-ibm437 \
glibc-gconv-ibm737 \
glibc-gconv-ibm775 \
@@ -23,6 +27,8 @@ RRECOMMENDS_${PN} = "\
glibc-gconv-ibm866 \
glibc-gconv-ibm869 \
"
+RRECOMMENDS_${PN} = "${targetrecgconv}"
+
SRC_URI[md5sum] = "a23646617546bf6ad56f061d8b283c85"
SRC_URI[sha256sum] = "59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85"
@@ -37,4 +43,4 @@ EXTRA_OECONF = "--without-x"
PARALLEL_MAKEINST = ""
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/syslinux/syslinux_6.01.bb b/meta/recipes-devtools/syslinux/syslinux_6.01.bb
index 4438ea8..c6e83b5 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.7.9.5
next reply other threads:[~2013-10-30 22:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-30 22:48 Jason Wessel [this message]
2013-10-30 23:47 ` [PATCH] mtools, syslinux: add ability to compile with nativesdk Khem Raj
2013-10-31 2:31 ` Jason Wessel
2013-10-31 2:36 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1383173291-4017-1-git-send-email-jason.wessel@windriver.com \
--to=jason.wessel@windriver.com \
--cc=Openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox