rt3070: also install .bin file, move to directory with other ralink recipes
authorKoen Kooi <koen@openembedded.org>
Mon, 22 Mar 2010 15:22:30 +0000 (16:22 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 Apr 2010 17:43:29 +0000 (19:43 +0200)
recipes/rt2x00/files/config.patch [moved from recipes/ralink/files/config.patch with 100% similarity]
recipes/rt2x00/files/makefile.patch [moved from recipes/ralink/files/makefile.patch with 100% similarity]
recipes/rt2x00/rt3070_2.1.1.0.bb [moved from recipes/ralink/rt3070_2.1.1.0.bb with 77% similarity]

similarity index 77%
rename from recipes/ralink/rt3070_2.1.1.0.bb
rename to recipes/rt2x00/rt3070_2.1.1.0.bb
index 23b0de7..324471a 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Ralink 3070"
 SECTION = "kernel/modules"
 LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
 
 inherit module
 
@@ -19,4 +19,11 @@ do_install() {
        install -m 0644 ${S}/os/linux/rt3070sta.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
        install -d ${D}/etc/Wireless/RT2870STA
        install -m 0644 ${S}/RT2870STA.dat ${D}/etc/Wireless/RT2870STA
+       install -d ${D}/lib/firmware
+       install -m 0644 ${S}/common/*.bin ${D}/lib/firmware/
 }
+
+PACKAGES =+ "${PN}-firmware"
+FILES_${PN}-firmware = "/etc /lib/firmware"
+
+RDEPENDS_${PN} = "${PN}-firmware"