diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/misc-binary-only | |
download | openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.bz2 openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.xz openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.zip |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/misc-binary-only')
-rw-r--r-- | openembedded/packages/misc-binary-only/prism3-firmware_1.8.4.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/openembedded/packages/misc-binary-only/prism3-firmware_1.8.4.bb b/openembedded/packages/misc-binary-only/prism3-firmware_1.8.4.bb new file mode 100644 index 000000000..2983ea771 --- /dev/null +++ b/openembedded/packages/misc-binary-only/prism3-firmware_1.8.4.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Firmware for the Prism3 cards" +SECTION = "base" +LICENSE = "Unknown" +PR = "r0" + +SRC_URI = "http://www.red-bean.com/~proski/firmware/${PV}.tar.bz2 \ + http://www.red-bean.com/~proski/firmware/primary.tar.bz2" +S = "${WORKDIR}" + +do_install() { + install -d ${D}${sysconfdir}/pcmcia/ + install -m 0644 primary/pm010102.hex ${D}${sysconfdir}/pcmcia/ + install -m 0644 ${PV}/rf010804.hex ${D}${sysconfdir}/pcmcia/ + cat >${D}${sysconfdir}/pcmcia/README.prism3-firmware <<EOF +To make a prism3 card w/ downloadable firmware work, do the following: + 0.) Install hostap-utils + 1.) Add "needs_reset yes" and "needs_firmware hostap_fw_load" to + the proper interface in /etc/network/interfaces + 2.) echo -e "#!/bin/sh\nifdown wlan0" >> /etc/apm/suspend.d/ifdown + 3.) chmod a+rx /etc/apm/suspend.d/ifdown + 4.) echo -e "#!/bin/sh\nifup wlan0" >> /etc/apm/resume.d/ifup + 5.) chmod a+rx /etc/apm/suspend.d/ifup +EOF +} + +PACKAGE_ARCH = "all" + |