summaryrefslogtreecommitdiffstats
path: root/meta/packages/misc-binary-only
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/misc-binary-only
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/misc-binary-only')
-rw-r--r--meta/packages/misc-binary-only/prism3-firmware_1.8.4.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/misc-binary-only/prism3-firmware_1.8.4.bb b/meta/packages/misc-binary-only/prism3-firmware_1.8.4.bb
new file mode 100644
index 0000000000..2983ea7710
--- /dev/null
+++ b/meta/packages/misc-binary-only/prism3-firmware_1.8.4.bb
@@ -0,0 +1,27 @@
1DESCRIPTION = "Firmware for the Prism3 cards"
2SECTION = "base"
3LICENSE = "Unknown"
4PR = "r0"
5
6SRC_URI = "http://www.red-bean.com/~proski/firmware/${PV}.tar.bz2 \
7 http://www.red-bean.com/~proski/firmware/primary.tar.bz2"
8S = "${WORKDIR}"
9
10do_install() {
11 install -d ${D}${sysconfdir}/pcmcia/
12 install -m 0644 primary/pm010102.hex ${D}${sysconfdir}/pcmcia/
13 install -m 0644 ${PV}/rf010804.hex ${D}${sysconfdir}/pcmcia/
14 cat >${D}${sysconfdir}/pcmcia/README.prism3-firmware <<EOF
15To make a prism3 card w/ downloadable firmware work, do the following:
16 0.) Install hostap-utils
17 1.) Add "needs_reset yes" and "needs_firmware hostap_fw_load" to
18 the proper interface in /etc/network/interfaces
19 2.) echo -e "#!/bin/sh\nifdown wlan0" >> /etc/apm/suspend.d/ifdown
20 3.) chmod a+rx /etc/apm/suspend.d/ifdown
21 4.) echo -e "#!/bin/sh\nifup wlan0" >> /etc/apm/resume.d/ifup
22 5.) chmod a+rx /etc/apm/suspend.d/ifup
23EOF
24}
25
26PACKAGE_ARCH = "all"
27