summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-04-30 01:27:00 +0200
committerAndrea Adami <andrea.adami@gmail.com>2009-04-30 01:27:00 +0200
commit0263ec2aaffbe8e14a6e6ee71c0e7dd17d1a3d2c (patch)
tree9a1522cb07739ae4956d7a47913b912a8d8c93c7 /recipes
parent2835967ade6abc79c212691fc372837abf1f4ff9 (diff)
nandlogical: Fix GNU_HASH QA error - Bump PR
Diffstat (limited to 'recipes')
-rw-r--r--recipes/nandlogical/nandlogical-static_1.0.0.bb4
-rw-r--r--recipes/nandlogical/nandlogical_1.0.0.bb8
2 files changed, 7 insertions, 5 deletions
diff --git a/recipes/nandlogical/nandlogical-static_1.0.0.bb b/recipes/nandlogical/nandlogical-static_1.0.0.bb
index e2eaf4e1f5..ceeba555c3 100644
--- a/recipes/nandlogical/nandlogical-static_1.0.0.bb
+++ b/recipes/nandlogical/nandlogical-static_1.0.0.bb
@@ -1,5 +1,7 @@
+PR = "r2"
+
require nandlogical_${PV}.bb
do_compile () {
- ${CC} -o nandlogical ${WORKDIR}/nandlogical.c -static
+ ${CC} nandlogical.c -o nandlogical ${CFLAGS} ${LDFLAGS}
}
diff --git a/recipes/nandlogical/nandlogical_1.0.0.bb b/recipes/nandlogical/nandlogical_1.0.0.bb
index ba851bf513..d567b48a3c 100644
--- a/recipes/nandlogical/nandlogical_1.0.0.bb
+++ b/recipes/nandlogical/nandlogical_1.0.0.bb
@@ -2,17 +2,17 @@ DESCRIPTION = "Nandlogical for Sharp mtd1"
LICENSE = "GPL"
DEPENDS = "mtd-utils"
COMPATIBLE_MACHINE = "(poodle|c7x0|akita|spitz|tosa)"
-PR = "r1"
+PR = "r2"
SRC_URI = "file://nandlogical.c"
-S = "${WORKDIR}/${P}"
+S = "${WORKDIR}"
do_compile () {
- ${CC} -o nandlogical ${WORKDIR}/nandlogical.c
+ ${CC} nandlogical.c -o nandlogical ${CFLAGS} ${LDFLAGS}
}
do_install () {
install -d ${D}${bindir}/
- install -m 0755 ${WORKDIR}/${P}/nandlogical ${D}${bindir}/
+ install -m 0755 nandlogical ${D}${bindir}/
}