summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-12-11 18:08:10 -0600
committerJohn Klug <john.klug@multitech.com>2020-06-21 04:09:32 -0500
commit76a7310106992b9556f6944a9b86b831f60675ce (patch)
tree5b9967c1c756159247b6a7ba412b8af7b4e13df4
parentffa89b27b8eaf148008248da486e252e7413a819 (diff)
downloadmeta-multitech-76a7310106992b9556f6944a9b86b831f60675ce.tar.gz
meta-multitech-76a7310106992b9556f6944a9b86b831f60675ce.tar.bz2
meta-multitech-76a7310106992b9556f6944a9b86b831f60675ce.zip
Add a package to remove rs9113 when not needed
-rw-r--r--recipes-kernel/rs9113/rs9113.inc21
1 files changed, 19 insertions, 2 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc
index 1eb4629..6f7f5ad 100644
--- a/recipes-kernel/rs9113/rs9113.inc
+++ b/recipes-kernel/rs9113/rs9113.inc
@@ -7,8 +7,18 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
# 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}-rm \
+ ${PN}-misc \
+ kernel-module-${PN} \
+ ${PN}-util \
+ ${PN}-dbg \
+ ${PN}-autostart \
+ ${PN}-btclonly \
+ ${PN}-noarch \
+ "
-PACKAGES = "${PN}-rm {PN}-utils-extra ${PN}-misc kernel-module-${PN} ${PN}-util ${PN}-dbg ${PN}-noarch ${PN}-autostart ${PN}-btclonly"
ALLOW_EMPTY_${PN}-autostart = "1"
PACKAGE_ARCH_${PN}-rm = "all"
@@ -152,7 +162,14 @@ FILES_${PN}-misc = " \
"
CONFFILES_${PN}-noarch = "${sysconfdir}/default/"
-FILES_${PN}-noarch = "/opt/rs9113/ ${sysconfdir}/init.d/ ${sysconfdir}/default/ ${prefix}/"
+
+# noarch gets what is left to package.
+FILES_${PN}-noarch = " \
+ /opt/ \
+ ${sysconfdir}/init.d/ \
+ ${sysconfdir}/default/ \
+ ${prefix}/ \
+ "
MR = "${WORKDIR}/rs9113"
do_install () {