summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/nslu2-linksys-firmware_2.3r63.bb
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2005-08-11 10:14:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-11 10:14:41 +0000
commit0654a007425b7b7b4d7646bd5cc2edeb1375d622 (patch)
treef476d1a9f4097abcdf7145e46136d3e500d5dfe9 /packages/nslu2-binary-only/nslu2-linksys-firmware_2.3r63.bb
parent5db530540a094f96b52245c5896ef40009e6db6b (diff)
Added unslung-binary-kernel.conf distro for NSLU2 Linksys V2.3R63 firmware with NTFS read/write support.
Diffstat (limited to 'packages/nslu2-binary-only/nslu2-linksys-firmware_2.3r63.bb')
-rw-r--r--packages/nslu2-binary-only/nslu2-linksys-firmware_2.3r63.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/nslu2-binary-only/nslu2-linksys-firmware_2.3r63.bb b/packages/nslu2-binary-only/nslu2-linksys-firmware_2.3r63.bb
new file mode 100644
index 0000000000..c90bcd6fe3
--- /dev/null
+++ b/packages/nslu2-binary-only/nslu2-linksys-firmware_2.3r63.bb
@@ -0,0 +1,27 @@
+DEFAULT_PREFERENCE_unslung = "-1"
+
+SECTION = "base"
+DEPENDS = "slugimage-native unzip-native"
+PACKAGES = ""
+LICENSE = "GPL"
+INHIBIT_DEFAULT_DEPS = "1"
+PR = "r0"
+
+SRC_URI = "http://www.you-need-to-get-this-one-yourself.com/NSLU2_V23R63.zip"
+S = "${WORKDIR}"
+
+python () {
+ # Don't build unless we're targeting an nslu2
+ if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+ raise bb.parse.SkipPackage("NSLU2 firmware only builds for the Linksys NSLU2")
+}
+
+do_compile () {
+ slugimage -u -i NSLU2_V23R63.bin -k vmlinuz -b RedBoot -s SysConf -r ramdisk.ext2.gz -t Trailer
+ install -d ${STAGING_LIBDIR}/nslu2-binaries
+ install -m 0755 RedBoot ${STAGING_LIBDIR}/nslu2-binaries/
+ install -m 0755 SysConf ${STAGING_LIBDIR}/nslu2-binaries/
+ install -m 0755 vmlinuz ${STAGING_LIBDIR}/nslu2-binaries/
+ install -m 0755 ramdisk.ext2.gz ${STAGING_LIBDIR}/nslu2-binaries/
+ install -m 0755 Trailer ${STAGING_LIBDIR}/nslu2-binaries/
+}