From 4b9805cba53ee926fbc9b3b72901b15d72982af0 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 18 Sep 2004 18:20:23 +0000 Subject: Merge 2004/09/19 00:03:51+09:30 (none)!rwhitby Fixed the Redbook -> Redboot typo in slugtool, and made corresponding changes to the nslu2 firmware unpacking and packing procedures. BKrev: 414c7c67rQASFlywei1gQZEgaXh7iQ --- slugtool/slugtool-native.oe | 9 +++++++++ slugtool/slugtool.oe | 16 ++++++++++++++++ slugtool/slugtool/redboot_typo.patch | 0 3 files changed, 25 insertions(+) create mode 100644 slugtool/slugtool/redboot_typo.patch (limited to 'slugtool') diff --git a/slugtool/slugtool-native.oe b/slugtool/slugtool-native.oe index e69de29bb2..3217e1215e 100644 --- a/slugtool/slugtool-native.oe +++ b/slugtool/slugtool-native.oe @@ -0,0 +1,9 @@ +include slugtool.oe +inherit native + +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/slugtool-${PV}', '${FILE_DIRNAME}/slugtool', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" +PACKAGES = "" + +do_stage () { + install -m 0755 slugtool ${STAGING_BINDIR}/ +} diff --git a/slugtool/slugtool.oe b/slugtool/slugtool.oe index e69de29bb2..140147e094 100644 --- a/slugtool/slugtool.oe +++ b/slugtool/slugtool.oe @@ -0,0 +1,16 @@ +DESCRIPTION = "Slugtool is a small app to disassemble and reassemble \ +flash images for the Linksys NSLU2 device." +MAINTAINER = "Chris Larson " + +SRC_URI = "http://www.lantz.com/filemgmt_data/files/slugtool.tar.gz \ + file://redboot_typo.patch;patch=1" +S = "${WORKDIR}" + +do_compile () { + ${CC} ${CFLAGS} ${LDFLAGS} slugtool.c -o slugtool +} + +do_install () { + install -d ${D}/${bindir} + install -m 0755 slugtool ${D}/${bindir}/ +} diff --git a/slugtool/slugtool/redboot_typo.patch b/slugtool/slugtool/redboot_typo.patch new file mode 100644 index 0000000000..e69de29bb2 -- cgit 1.2.3-korg