summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/redboot-utils/fis_1.0.bb13
1 files changed, 6 insertions, 7 deletions
diff --git a/packages/redboot-utils/fis_1.0.bb b/packages/redboot-utils/fis_1.0.bb
index b0d6d76008..87246f2717 100644
--- a/packages/redboot-utils/fis_1.0.bb
+++ b/packages/redboot-utils/fis_1.0.bb
@@ -1,15 +1,14 @@
DESCRIPTION = "Tool to edit the Redboot FIS partition layout from userspace"
-PR = "r3"
+PR = "r4"
-SRC_URI = "http://svn.chezphil.org/utils/trunk/fis.c"
+SRC_URI = "svn://svn.nslu2-linux.org/svnroot/fis;module=trunk;proto=http"
+S="${WORKDIR}/trunk"
-do_compile() {
- ${CC} --std=c99 -Os -W -o fis ${WORKDIR}/fis.c
-}
+export CFLAGS += "--std=c99"
do_install() {
- ${STRIP} ${WORKDIR}/fis-${PV}/fis
+ ${STRIP} ${S}/fis
install -d ${D}/${sbindir}
- install -m 755 ${WORKDIR}/fis-${PV}/fis ${D}/${sbindir}
+ install -m 755 ${S}/fis ${D}/${sbindir}
}