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

SRC_URI = "http://svn.chezphil.org/utils/trunk/fis.c \
	   svn://svn.chezphil.org/;module=libpbe;proto=http"

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}
}