Patchwork [meta-handheld] nandlogical: move to 1.1.0 and add BBCLASSEXTEND for the klibc version

login
register
mail settings
Submitter Andrea Adami
Date Sept. 28, 2013, 11:54 p.m.
Message ID <1380412492-15152-1-git-send-email-andrea.adami@gmail.com>
Download mbox | patch
Permalink /patch/59121/
State Accepted, archived
Headers show

Comments

Andrea Adami - Sept. 28, 2013, 11:54 p.m.
Remove nandlogical-klibc recipe
Sync PV to 1.1.0 like the source tarball
Remove PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 recipes-bsp/zaurus-utils/nandlogical-klibc_1.0.0.bb              | 9 ---------
 .../zaurus-utils/{nandlogical_1.0.0.bb => nandlogical_1.1.0.bb}  | 6 +++++-
 2 files changed, 5 insertions(+), 10 deletions(-)
 delete mode 100644 recipes-bsp/zaurus-utils/nandlogical-klibc_1.0.0.bb
 rename recipes-bsp/zaurus-utils/{nandlogical_1.0.0.bb => nandlogical_1.1.0.bb} (83%)

Patch

diff --git a/recipes-bsp/zaurus-utils/nandlogical-klibc_1.0.0.bb b/recipes-bsp/zaurus-utils/nandlogical-klibc_1.0.0.bb
deleted file mode 100644
index 47902d7..0000000
--- a/recipes-bsp/zaurus-utils/nandlogical-klibc_1.0.0.bb
+++ /dev/null
@@ -1,9 +0,0 @@ 
-require nandlogical_${PV}.bb
-
-inherit klibc
-
-do_compile() {
-        ${CC} ${CFLAGS} ${LDFLAGS} -static -I${STAGING_INCDIR} nandlogical.c -o nandlogical
-}
-
-FILESPATH =. "${FILE_DIRNAME}/nandlogical:"
diff --git a/recipes-bsp/zaurus-utils/nandlogical_1.0.0.bb b/recipes-bsp/zaurus-utils/nandlogical_1.1.0.bb
similarity index 83%
rename from recipes-bsp/zaurus-utils/nandlogical_1.0.0.bb
rename to recipes-bsp/zaurus-utils/nandlogical_1.1.0.bb
index 07180c5..0fb6e2c 100644
--- a/recipes-bsp/zaurus-utils/nandlogical_1.0.0.bb
+++ b/recipes-bsp/zaurus-utils/nandlogical_1.1.0.bb
@@ -1,7 +1,8 @@ 
+FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:${THISDIR}/files:"
+
 DESCRIPTION = "Nandlogical for Sharp mtd1"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://nandlogical.c;endline=15;md5=77804e7fdf625e56869f32d9aec762a2"
-PR = "r6"
 
 SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/download/1.1.0beta4/src/survive-1.1.0.tar.bz2 \
            file://oobblock-to-writesize.patch"
@@ -11,6 +12,8 @@  SRC_URI[sha256sum] = "0d02edc12509f6dc98cded37c68238f939c522cbd398fd527785a1e7e3
 
 S = "${WORKDIR}/survive-1.1.0"
 
+EXTRA_OEMAKE_class-klibc = "-static -I${STAGING_INCDIR}"
+
 do_compile () {
         ${CC} ${CFLAGS} ${LDFLAGS} nandlogical.c -o nandlogical
 }
@@ -21,3 +24,4 @@  do_install () {
 }
 
 COMPATIBLE_MACHINE = "(poodle|c7x0|akita|spitz|tosa)"
+BBCLASSEXTEND = "klibc"