diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/packages/misc-binary-only | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/misc-binary-only')
3 files changed, 0 insertions, 68 deletions
diff --git a/meta/packages/misc-binary-only/prism-firmware.bb b/meta/packages/misc-binary-only/prism-firmware.bb deleted file mode 100644 index 903c55e15e..0000000000 --- a/meta/packages/misc-binary-only/prism-firmware.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | DESCRIPTION = "Firmware for the Prism 2.x/3 cards" | ||
2 | SECTION = "base" | ||
3 | LICENSE = "closed" | ||
4 | RDEPENDS = "hostap-utils" | ||
5 | RREPLACES = "prism3-firmware prism3-support" | ||
6 | RCONFLICTS = "prism3-firmware prism3-support" | ||
7 | PACKAGE_ARCH = "all" | ||
8 | PR = "r3" | ||
9 | |||
10 | SRC_URI = "http://www.red-bean.com/~proski/firmware/primary.tar.bz2 \ | ||
11 | http://www.red-bean.com/~proski/firmware/1.7.4.tar.bz2 \ | ||
12 | file://prism-fw.sh \ | ||
13 | file://hostap.rules" | ||
14 | |||
15 | do_install() { | ||
16 | install -d ${D}${base_libdir}/firmware/ | ||
17 | install -d ${D}${base_libdir}/udev/ | ||
18 | install -d ${D}${sysconfdir}/pcmcia/ | ||
19 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
20 | |||
21 | install -m 0644 ${WORKDIR}/primary/af010104.hex ${D}${base_libdir}/firmware/ | ||
22 | install -m 0644 ${WORKDIR}/primary/ak010104.hex ${D}${base_libdir}/firmware/ | ||
23 | install -m 0644 ${WORKDIR}/primary/pm010102.hex ${D}${base_libdir}/firmware/ | ||
24 | |||
25 | install -m 0644 ${WORKDIR}/1.7.4/rf010704.hex ${D}${base_libdir}/firmware/ | ||
26 | |||
27 | install -m 0755 ${WORKDIR}/prism-fw.sh ${D}${base_libdir}/udev/ | ||
28 | install -m 0644 ${WORKDIR}/hostap.rules ${D}${sysconfdir}/udev/rules.d/ | ||
29 | } | ||
30 | |||
31 | PACKAGES = "${PN}" | ||
32 | FILES_${PN} += "${base_libdir}" | ||
diff --git a/meta/packages/misc-binary-only/prism-firmware/hostap.rules b/meta/packages/misc-binary-only/prism-firmware/hostap.rules deleted file mode 100644 index dece98ae93..0000000000 --- a/meta/packages/misc-binary-only/prism-firmware/hostap.rules +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | # | ||
2 | # update firmware on Prism cards (load it to RAM, not to Flash) | ||
3 | # | ||
4 | SUBSYSTEM=="net", KERNEL=="wlan*" RUN="/lib/udev/prism-fw.sh" | ||
diff --git a/meta/packages/misc-binary-only/prism-firmware/prism-fw.sh b/meta/packages/misc-binary-only/prism-firmware/prism-fw.sh deleted file mode 100644 index 619f612be1..0000000000 --- a/meta/packages/misc-binary-only/prism-firmware/prism-fw.sh +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | CARD_ID=`/usr/sbin/hostap_diag $INTERFACE|grep NICID|awk '{print $2}'|sed -e 's/id=0x//'` | ||
4 | |||
5 | # 801d cards lack even Primary firmware so we cannot use hostap_diag | ||
6 | PRI=/lib/firmware/pm010102.hex | ||
7 | STA=/lib/firmware/rf010704.hex | ||
8 | |||
9 | if [ $CARD_ID = '800c' ] || [ $CARD_ID = '8013' ] || [ $CARD_ID = '8017' ] || \ | ||
10 | [ $CARD_ID = '801b' ] || [ $CARD_ID = '8022' ] || [ $CARD_ID = '8023' ] ; then | ||
11 | PRI=/lib/firmware/ak010104.hex | ||
12 | elif [ $CARD_ID = '800b' ] || [ $CARD_ID = '8012' ] || [ $CARD_ID = '8016' ] || \ | ||
13 | [ $CARD_ID = '801a' ] ; then | ||
14 | PRI=/lib/firmware/af010104.hex | ||
15 | elif [ $CARD_ID = '800e' ] || [ $CARD_ID = '8015' ] || [ $CARD_ID = '8019' ] || \ | ||
16 | [ $CARD_ID = '801d' ] ; then | ||
17 | PRI=/lib/firmware/pm010102.hex | ||
18 | fi | ||
19 | |||
20 | DIR=/proc/net/hostap/wlan0 | ||
21 | |||
22 | if [ ! -d $DIR ]; then | ||
23 | exit 1 | ||
24 | fi | ||
25 | |||
26 | if grep -q no_pri=1 $DIR/debug; then | ||
27 | /usr/sbin/prism2_srec -gs wlan0 $PRI | ||
28 | /usr/sbin/prism2_srec -gp wlan0 $PRI | ||
29 | fi | ||
30 | |||
31 | /usr/sbin/prism2_srec -rp wlan0 $STA | ||
32 | |||