summaryrefslogtreecommitdiff
path: root/recipes/zaurus-utils/encdec-updater.bb
blob: 7bd85c5a605f09e3bb1e9f9f8644171b56588492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SECTION = "console/utils"
LICENSE = "GPL"
DESCRIPTION = "A tool to encode and decode the Sharp Zaurus updater.sh script"

SRC_URI = "file://encdec-updater.c"

COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)'

BBCLASSEXTEND = "native"
NATIVE_INSTALL_WORKS = "1"

do_compile() {
	${CC} ${LDFLAGS} -o encdec-updater ${WORKDIR}/encdec-updater.c
}

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