summaryrefslogtreecommitdiff
path: root/packages/redboot-utils/fis_1.0.bb
blob: b0d6d76008b10e2cf8086644c5ffa33a8d14190c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DESCRIPTION = "Tool to edit the Redboot FIS partition layout from userspace"
PR = "r3"

SRC_URI = "http://svn.chezphil.org/utils/trunk/fis.c"

do_compile() {
	${CC} --std=c99 -Os -W -o fis ${WORKDIR}/fis.c
}

do_install() {
	${STRIP} ${WORKDIR}/fis-${PV}/fis

	install -d ${D}/${sbindir}
	install -m 755 ${WORKDIR}/fis-${PV}/fis ${D}/${sbindir}
}