summaryrefslogtreecommitdiff
path: root/packages/nandlogical/nandlogical_1.0.0.bb
blob: 7d8fc04b4e2e69d97b4f7841b2dd59764fbff96d (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 = "(c7x0)"
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}/
}