summaryrefslogtreecommitdiff
path: root/recipes/zaurus-utils/nandlogical_1.0.0.bb
blob: d567b48a3c85d6eab67fbe0d8d4e35064a7431d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "Nandlogical for Sharp mtd1"
LICENSE = "GPL"
DEPENDS = "mtd-utils"
COMPATIBLE_MACHINE = "(poodle|c7x0|akita|spitz|tosa)"
PR = "r2"

SRC_URI = "file://nandlogical.c"

S = "${WORKDIR}"

do_compile () {
	${CC} nandlogical.c -o nandlogical ${CFLAGS} ${LDFLAGS}
}

do_install () {
	install -d ${D}${bindir}/
	install -m 0755 nandlogical ${D}${bindir}/
}