summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-11-06 17:41:11 -0600
committerJohn Klug <john.klug@multitech.com>2018-11-06 17:41:11 -0600
commitbaab17cd9d6fddf3713eab54479631eabbe27b2f (patch)
treeae262743e2db36893bfe50849377825312214bc0
parente1b79b04669d27005083b46d0412dd9984abcbee (diff)
downloadmeta-multitech-baab17cd9d6fddf3713eab54479631eabbe27b2f.tar.gz
meta-multitech-baab17cd9d6fddf3713eab54479631eabbe27b2f.tar.bz2
meta-multitech-baab17cd9d6fddf3713eab54479631eabbe27b2f.zip
Split rs9113 into rs9113-noarch, rs9113-util, and kernel-module-rs91134.1.0
-rw-r--r--recipes-kernel/rs9113/rs9113.inc63
1 files changed, 61 insertions, 2 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc
index de80800..d981ca2 100644
--- a/recipes-kernel/rs9113/rs9113.inc
+++ b/recipes-kernel/rs9113/rs9113.inc
@@ -1,11 +1,18 @@
inherit update-rc.d
PACKAGE_ARCH = "${MACHINE_ARCH}"
+# No arch package must be last, since it picks up all files not picked
+# up elsewhere.
+PACKAGES = "kernel-module-${PN} ${PN}-util ${PN}-dbg ${PN}-noarch"
+RDEPENDS_${PN}-noarch = "bash"
+RRECOMMENDS_${PN}-noarch = "perl"
+
DR = "${DL_DIR}/rs9113-ipk"
FILESEXTRAPATHS_append := "${DR}:"
-INITSCRIPT_NAME = "rs9113"
-INITSCRIPT_PARAMS = "start 50 S ."
+INITSCRIPT_PACKAGES = "${PN}-noarch"
+INITSCRIPT_NAME_${PN}-noarch = "rs9113"
+INITSCRIPT_PARAMS_${PN}-noarch = "start 50 S ."
BB_STRICT_CHECKSUM = "0"
@@ -63,6 +70,58 @@ python do_fetch_prepend () {
os.system(ex + ";" + gt + "|" + tar)
}
+FILES_kernel-module-${PN} = "/opt/rs9113/wlan_xauth.ko \
+ /opt/rs9113/wlan_acl.ko \
+ /opt/rs9113/wlan_tkip.ko \
+ /opt/rs9113/wlan_wep.ko \
+ /opt/rs9113/onebox_wlan_gpl.ko \
+ /opt/rs9113/onebox_nongpl.ko \
+ /opt/rs9113/onebox_common_gpl.ko \
+ /opt/rs9113/onebox_wlan_nongpl.ko \
+ /opt/rs9113/wlan_ccmp.ko \
+ /opt/rs9113/wlan_aes_cmac.ko \
+ /opt/rs9113/onebox_bt_nongpl.ko \
+ /opt/rs9113/onebox_bt_gpl.ko \
+ /opt/rs9113/wlan_scan_sta.ko \
+ /opt/rs9113/onebox_gpl.ko \
+ /opt/rs9113/wlan.ko \
+ "
+
+FILES_${PN}-util = "/opt/rs9113/transmit \
+ /opt/rs9113/transmit_packet \
+ /opt/rs9113/bt_bbp_utils \
+ /opt/rs9113/bbp_util \
+ /opt/rs9113/zb_bbp_util \
+ /opt/rs9113/bt_util \
+ /opt/rs9113/zb_transmit \
+ /opt/rs9113/receive \
+ /opt/rs9113/onebox_util \
+ /opt/rs9113/zb_util \
+ /opt/rs9113/bt_transmit \
+ /opt/rs9113/bt_receive \
+ /opt/rs9113/sniffer_app \
+ /opt/rs9113/START_RS9116_NBZ_D0N \
+ "
+
+FILES_${PN}-dbg = "/opt/rs9113/.debug/bt_bbp_utils \
+ /opt/rs9113/.debug/bbp_util \
+ /opt/rs9113/.debug/zb_bbp_util \
+ /opt/rs9113/.debug/transmit \
+ /opt/rs9113/.debug/zb_util \
+ /opt/rs9113/.debug/bt_transmit \
+ /opt/rs9113/.debug/onebox_util \
+ /opt/rs9113/.debug/receive \
+ /opt/rs9113/.debug/zb_transmit \
+ /opt/rs9113/.debug/bt_util \
+ /opt/rs9113/.debug/START_RS9116_NBZ_D0N \
+ /opt/rs9113/.debug/sniffer_app \
+ /opt/rs9113/.debug/transmit_packet \
+ /opt/rs9113/.debug/bt_receive \
+ "
+
+CONFFILES_${PN}-noarch = "${sysconfdir}/default/"
+FILES_${PN}-noarch = "/opt/rs9113/ ${sysconfdir}/init.d/ ${sysconfdir}/default/ ${prefix}/"
+
MR = "${WORKDIR}/rs9113"
do_install () {
bbnote "pwd,ls: $(pwd) $(ls) WORKDIR is ${WORKDIR}"