summaryrefslogtreecommitdiff
path: root/recipes/ralink
diff options
context:
space:
mode:
authorMichael Lippautz <michael.lippautz@gmail.com>2009-10-20 11:14:07 -0700
committerKhem Raj <raj.khem@gmail.com>2009-10-20 11:15:49 -0700
commit4319ab27f45a52eb3bae73cfd786f938583920b3 (patch)
treeb1f28bd205514246c8371b0e455810e8bbebdeff /recipes/ralink
parent7bc8adad26908b97e412e8665d757efad111aac0 (diff)
rt3070_2.1.1.0.bb: Install missing etc/Wireless/RT2870STA
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/ralink')
-rw-r--r--recipes/ralink/rt3070_2.1.1.0.bb12
1 files changed, 8 insertions, 4 deletions
diff --git a/recipes/ralink/rt3070_2.1.1.0.bb b/recipes/ralink/rt3070_2.1.1.0.bb
index d7709fa91d..23b0de7d32 100644
--- a/recipes/ralink/rt3070_2.1.1.0.bb
+++ b/recipes/ralink/rt3070_2.1.1.0.bb
@@ -1,18 +1,22 @@
DESCRIPTION = "Ralink 3070"
+SECTION = "kernel/modules"
LICENSE = "GPLv2"
+PR = "r1"
inherit module
SRC_URI = "http://www.ralinktech.com.tw/data/drivers/2009_0525_RT3070_Linux_STA_v${PV}.tar.bz2 \
file://makefile.patch;patch=1 \
- file://config.patch;patch=1 \
-"
+ file://config.patch;patch=1 \
+ "
EXTRA_OEMAKE = "LINUX_SRC=${STAGING_KERNEL_DIR}"
S = "${WORKDIR}/2009_0525_RT3070_Linux_STA_v${PV}"
do_install() {
- mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
- cp ${S}/os/linux/rt3070sta.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
+ install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
+ 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
}