[oe] [PATCH] nkf_2.07.bb: merged native and non-native recipes

Fahad Usman fahad_usman at mentor.com
Mon Sep 20 08:22:23 UTC 2010


* removed the nkf-native_2.07.bb file
* added NATIVE_INSTALL_WORKS = "1"
* added BBCLASSEXTEND = "native"
* bumped PR

Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
---
 recipes/nkf/nkf-native_2.07.bb |   14 --------------
 recipes/nkf/nkf_2.07.bb        |    7 ++++++-
 2 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/recipes/nkf/nkf-native_2.07.bb b/recipes/nkf/nkf-native_2.07.bb
deleted file mode 100644
index b9782ae..0000000
--- a/recipes/nkf/nkf-native_2.07.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require nkf_${PV}.bb
-inherit native
-
-do_stage() {
-    install -m 0755 nkf ${STAGING_BINDIR}
-}
-
-do_install() {
-	:
-}
-
-
-SRC_URI[md5sum] = "af11dcd3fe71d67831c020e3bfd5073b"
-SRC_URI[sha256sum] = "71d2ba992df209a00bb1dca45e3336729dc16e51b71526bd20f897cc6127a275"
diff --git a/recipes/nkf/nkf_2.07.bb b/recipes/nkf/nkf_2.07.bb
index ef6e23d..20ee2b2 100644
--- a/recipes/nkf/nkf_2.07.bb
+++ b/recipes/nkf/nkf_2.07.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Network Kanji Code Conversion Filter"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://ftp.debian.org/debian/pool/main/n/nkf/nkf_${PV}.orig.tar.gz"
 S = "${WORKDIR}/nkf207"
@@ -16,3 +16,8 @@ do_install() {
 SRC_URI[md5sum] = "af11dcd3fe71d67831c020e3bfd5073b"
 SRC_URI[sha256sum] = "71d2ba992df209a00bb1dca45e3336729dc16e51b71526bd20f897cc6127a275"
 TARGET_CC_ARCH += "${LDFLAGS}"
+
+BBCLASSEXTEND = "native"
+ 
+NATIVE_INSTALL_WORKS = "1"
+
-- 
1.6.3.3





More information about the Openembedded-devel mailing list