diff options
author | John Klug <john.klug@multitech.com> | 2018-11-06 17:41:11 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-01-10 11:19:14 -0600 |
commit | 8c10e30330b64f11996f2ca45718fd2511b59977 (patch) | |
tree | 1734cf0ecbdda7dfedf842db7f171323e76a343b /recipes-kernel | |
parent | 3d02ca7cd7d33e8caf7bdfb41c22c8ec74f78718 (diff) | |
download | meta-multitech-8c10e30330b64f11996f2ca45718fd2511b59977.tar.gz meta-multitech-8c10e30330b64f11996f2ca45718fd2511b59977.tar.bz2 meta-multitech-8c10e30330b64f11996f2ca45718fd2511b59977.zip |
Split rs9113 into rs9113-noarch, rs9113-util, and kernel-module-rs9113
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/rs9113/rs9113.inc | 63 |
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}" |