summaryrefslogtreecommitdiff
path: root/packages/nandlogical/nandlogical_1.0.0.bb
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2008-08-03 22:37:23 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-08-03 22:37:23 +0000
commit8571375a10e51099dbdd208df678e00644e09523 (patch)
tree3892c107ef31e99e618628e325692221f722c69a /packages/nandlogical/nandlogical_1.0.0.bb
parent5accee758316d43e8235553ec96a8386e98bb936 (diff)
nandlogical: initial release. closes 4470.
* commit by Laibsch
Diffstat (limited to 'packages/nandlogical/nandlogical_1.0.0.bb')
-rw-r--r--packages/nandlogical/nandlogical_1.0.0.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/nandlogical/nandlogical_1.0.0.bb b/packages/nandlogical/nandlogical_1.0.0.bb
new file mode 100644
index 0000000000..8b6ce70bda
--- /dev/null
+++ b/packages/nandlogical/nandlogical_1.0.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Nandlogical for Sharp mtd1"
+LICENSE = "GPL"
+DEPENDS = "mtd-utils"
+PR = "r0"
+
+SRC_URI = "file://nandlogical.c"
+
+S = "${WORKDIR}/${P}"
+
+do_compile () {
+ ${CC} -o nandlogical ${WORKDIR}/nandlogical.c -static
+}
+
+do_install () {
+ install -d ${D}${bindir}/
+ install -m 0755 ${WORKDIR}/${P}/nandlogical ${D}${bindir}/
+}