summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/rs9113.inc
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-02-13 17:16:10 -0600
committerJohn Klug <john.klug@multitech.com>2019-02-13 17:16:10 -0600
commitc803d02d56929b834d80ded46adb7ba55e27f893 (patch)
treeaba56d3e48ecc584d6dacd9888ade44b3bc84f97 /recipes-kernel/rs9113/rs9113.inc
parent9d0e9f7b173e61a3efd2b177cfe953bd0cc4923d (diff)
downloadmeta-multitech-atmel-c803d02d56929b834d80ded46adb7ba55e27f893.tar.gz
meta-multitech-atmel-c803d02d56929b834d80ded46adb7ba55e27f893.tar.bz2
meta-multitech-atmel-c803d02d56929b834d80ded46adb7ba55e27f893.zip
Split off seldom used rs9113 driver files
Diffstat (limited to 'recipes-kernel/rs9113/rs9113.inc')
-rw-r--r--recipes-kernel/rs9113/rs9113.inc80
1 files changed, 50 insertions, 30 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc
index b632fc2..0ef9277 100644
--- a/recipes-kernel/rs9113/rs9113.inc
+++ b/recipes-kernel/rs9113/rs9113.inc
@@ -1,10 +1,16 @@
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"
+# utils-extra picks up ELF executables we don't want on most images.
+# misc picks up non-ELF's we don't want on most images.
+# kernel-module-rs9113 picks up the *.ko files.
+# util contains the onebox utility for creating the VAP.
+# noarch contains the init script and configuration for the driver and
+# the firmware file (firmware/*.rps).
+
+PACKAGES = "${PN}-utils-extra ${PN}-misc kernel-module-${PN} ${PN}-util ${PN}-dbg ${PN}-noarch"
RDEPENDS_${PN}-noarch = "bash"
+RDEPENDS_${PN}-misc = "bash"
DR = "${DL_DIR}/rs9113-ipk"
FILESEXTRAPATHS_append := "${DR}:"
@@ -69,37 +75,12 @@ 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_kernel-module-${PN} = " \
+ /opt/rs9113/*.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 \
@@ -118,6 +99,45 @@ FILES_${PN}-dbg = "/opt/rs9113/.debug/bt_bbp_utils \
/opt/rs9113/.debug/bt_receive \
"
+# pmemdata is for upgrading rs9113 non-volatile firmware
+# *.rpm are firmware files for various modes of
+# rs9113 or rs9116 operation. MODE_PER is for
+# certification testing.
+FILES_${PN}-utils-extra = " \
+ /opt/rs9113/zb* \
+ /opt/rs9113/bt_transmit \
+ /opt/rs9113/zb_transmit \
+ /opt/rs9113/transmit \
+ /opt/rs9113/transmit_packet \
+ /opt/rs9113/bt_receive \
+ /opt/rs9113/receive \
+ /opt/rs9113/zb_util \
+ /opt/rs9113/bt_util \
+ /opt/rs9113/bbp_util \
+ /opt/rs9113/zb_bbp_util \
+ /opt/rs9113/bt_receive \
+ /opt/rs9113/bt_bbp_utils \
+ /opt/rs9113/sniffer_app \
+ /opt/rs9113/START_RS9116_NBZ_D0N \
+ "
+
+FILES_${PN}-misc = " \
+ /opt/rs9113/firmware/RS9113_WLAN_BT_DUAL_MODE_PER.rps \
+ /opt/rs9113/firmware/RS9113_ZIGBEE_ROUTER.rps \
+ /opt/rs9113/firmware/RS9113_ZIGBEE_COORDINATOR.rps \
+ /opt/rs9113/firmware/RS9113_WLAN_ZIGBEE.rps \
+ /opt/rs9113/firmware/pmemdata* \
+ /opt/rs9113/firmware/flash_content \
+ /opt/rs9113/*RS9116* \
+ /opt/rs9113/*.orig \
+ /opt/rs9113/*.txt \
+ /opt/rs9113/*.sh \
+ /opt/rs9113/*.conf \
+ /opt/rs9113/p2pcommands.pl \
+ /opt/rs9113/*reg \
+ /opt/rs9113/afe_spi \
+ "
+
CONFFILES_${PN}-noarch = "${sysconfdir}/default/"
FILES_${PN}-noarch = "/opt/rs9113/ ${sysconfdir}/init.d/ ${sysconfdir}/default/ ${prefix}/"