blob: be52385b48cdd41a00897a6c379617138d9c914d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
DESCRIPTION = "USB Driver for Redpine RS9113"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
SRC_URI = " \
file://RS9113.NBZ.NL.GENR.LNX.1.3.0.tgz \
file://kthread.patch \
file://defconfig \
file://rs9113_load_modules.sh \
file://rs9113_remove_modules.sh \
file://rs9113.init \
"
S = "${WORKDIR}/RS9113.NBZ.NL.GENR.LNX.1.3.0/source/host"
EXTRA_OEMAKE = " KERNELDIR=${STAGING_KERNEL_DIR} \
CROSS_COMPILE=${TARGET_PREFIX} \
ARCH=arm \
WLAN_COMPILE_FLAGS='' \
"
do_configure() {
cp ${WORKDIR}/defconfig .config
}
do_compile () {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
oe_runmake
}
FILES_${PN} = "/opt/rs9113 ${sbindir}"
FILES_${PN}-dbg = "/opt/rs9113/.debug/"
PARALLEL_MAKE = ""
do_install() {
install -m 0755 -d ${D}/opt/rs9113
cp -r ${S}/release/* ${D}/opt/rs9113/
install -m 0755 -d ${D}${sbindir}
install -m 0755 ${WORKDIR}/rs9113_load_modules.sh ${D}${sbindir}/
install -m 0755 ${WORKDIR}/rs9113_remove_modules.sh ${D}${sbindir}/
}
python do_clean() {
bb.note("Skipping clean in rs9113 recipe.")
}
|