From bb3c6f24758b490366543e7392dd13cdcb200b6f Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 22 Mar 2010 16:22:30 +0100 Subject: [PATCH] rt3070: also install .bin file, move to directory with other ralink recipes --- recipes/{ralink => rt2x00}/files/config.patch | 0 recipes/{ralink => rt2x00}/files/makefile.patch | 0 recipes/{ralink => rt2x00}/rt3070_2.1.1.0.bb | 9 ++++++++- 3 files changed, 8 insertions(+), 1 deletion(-) rename recipes/{ralink => rt2x00}/files/config.patch (100%) rename recipes/{ralink => rt2x00}/files/makefile.patch (100%) rename recipes/{ralink => rt2x00}/rt3070_2.1.1.0.bb (77%) 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" -- 2.39.5