diff options
author | John Klug <john.klug@multitech.com> | 2019-12-11 18:08:10 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-12-11 18:08:10 -0600 |
commit | 9f552e769793e6645875926cec6ce107e229d57b (patch) | |
tree | 5b9967c1c756159247b6a7ba412b8af7b4e13df4 | |
parent | d8ef31839ba80f103366d887b0141c9e66242ec4 (diff) | |
download | meta-multitech-9f552e769793e6645875926cec6ce107e229d57b.tar.gz meta-multitech-9f552e769793e6645875926cec6ce107e229d57b.tar.bz2 meta-multitech-9f552e769793e6645875926cec6ce107e229d57b.zip |
Add a package to remove rs9113 when not needed
-rw-r--r-- | recipes-kernel/rs9113/rs9113.inc | 21 |
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 () { |