summaryrefslogtreecommitdiff
path: root/packages/redboot-utils/fis_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/redboot-utils/fis_1.0.bb')
-rw-r--r--packages/redboot-utils/fis_1.0.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/redboot-utils/fis_1.0.bb b/packages/redboot-utils/fis_1.0.bb
new file mode 100644
index 0000000000..d1170b6ba8
--- /dev/null
+++ b/packages/redboot-utils/fis_1.0.bb
@@ -0,0 +1,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}
+}