summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/rs9113_1.6.6.bb
blob: d2643d91ccf49296a5dc1e0022f45fc834ec745f (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
require rs9113.inc
DESCRIPTION = "USB Driver for Redpine RS9113"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
do_fetch[depends] += "virtual/kernel:do_shared_workdir"
PROVIDES = "rs9113"
FILES_${PN} = "/opt/rs9113 ${sbindir} ${sysconfdir}"
RDEPENDS_${PN}-noarch += "bash"
RDEPENDS_${PN}-rm += "bash"
COMPATIBLE_MACHINE = "(mtcdt|mtrv1)"

# This bitbake recipe requires SSH_AUTH_SOCK to be set if ssh key pass
# phrases are used.  SSH_AUTH_SOCK is set by a keyserver,
# such as gnome-keyring-daemon or ssh-keyagent.

# NOTE: rs9113 binary is built with Jenkin's job using rs9113-from-src_${PV}.bb
# To update this, manually copy ipk from Jenkin's job to
#     git://git@${MTS_INTERNAL_GIT}/mlinux/ipk.git;protocol=ssh;branch=${PV}
#
PR = "r18"
PKGR = "${PR}${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}"
SRC_URI = " \
    file://rs9113/rs9113.init \
    file://rs9113/rs9113.default \
    file://rs9113/rs9113.reset \
    file://rs9113/mts-rm-rs9113 \
    file://rs9113/wpa_supplicant \
    file://rs9113-ipk/rs9113-from-src_${PV}-${PKGR}.0_${MACHINE}.ipk;name=binaries \
    file://rs9113/messages.patch;patchdir=${WORKDIR} \
"
SRCREV = "${PV}"

# AUTOREV breaks mLinux source tarballs in Thud
# SRCREV = "${AUTOREV}"

# For some reason the md5sum and sha256sum are ignored
SRC_URI[binaries.md5sum] = "7c0f7badf5a2a3b3dacc790ff0a9ce55"
SRC_URI[binaries.sha256sum] = "2780d417295999724ada4a08e6a196aaca55324af24b404e0f9b2f2ea7d4d830"