From: Koen Kooi Date: Mon, 22 Mar 2010 15:22:30 +0000 (+0100) Subject: rt3070: also install .bin file, move to directory with other ralink recipes X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb3c6f24758b490366543e7392dd13cdcb200b6f;p=openembedded.git rt3070: also install .bin file, move to directory with other ralink recipes --- diff --git a/recipes/ralink/files/config.patch b/recipes/rt2x00/files/config.patch similarity index 100% rename from recipes/ralink/files/config.patch rename to recipes/rt2x00/files/config.patch diff --git a/recipes/ralink/files/makefile.patch b/recipes/rt2x00/files/makefile.patch similarity index 100% rename from recipes/ralink/files/makefile.patch rename to recipes/rt2x00/files/makefile.patch diff --git a/recipes/ralink/rt3070_2.1.1.0.bb b/recipes/rt2x00/rt3070_2.1.1.0.bb similarity index 77% rename from recipes/ralink/rt3070_2.1.1.0.bb rename to recipes/rt2x00/rt3070_2.1.1.0.bb index 23b0de7d32..324471ad8f 100644 --- a/recipes/ralink/rt3070_2.1.1.0.bb +++ b/recipes/rt2x00/rt3070_2.1.1.0.bb @@ -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"