diff options
Diffstat (limited to 'nslu2-binary-only/nslu2-linksys-ramdisk_2.3r25.bb')
-rw-r--r-- | nslu2-binary-only/nslu2-linksys-ramdisk_2.3r25.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r25.bb b/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r25.bb index e69de29bb2..d7748912a6 100644 --- a/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r25.bb +++ b/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r25.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Linksys NSLU2 Stock Firmware Ramdisk." +PACKAGE_ARCH = "nslu2" +SECTION = "base" +PRIORITY = "required" +PR = "r1" + +SRC_URI = "http://nslu.sf.net/downloads/nslu2-linksys-ramdisk-2.3r25.tar.bz2" + +do_install () { + ( cd ${S} ; tar cvf - . ) | ( cd ${D} ; tar xvf - ) +} + +PACKAGES = "${PN}" +FILES_${PN} = "/" + +python () { + # Don't build unless we're targeting an nslu2 + if oe.data.getVar("MACHINE", d, 1) != "nslu2": + raise oe.parse.SkipPackage("NSLU2 ramdisk only builds for the Linksys NSLU2") +} |