summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-if-module.bb
diff options
context:
space:
mode:
authorDuy Dang <duy.dang.yw@rvc.renesas.com>2018-07-30 02:29:58 -0400
committerKhang Nguyen <khang.nguyen.xv@renesas.com>2018-10-29 13:41:32 +0700
commitd8fca165d6e047046bf171160ccc1f61598f0ba8 (patch)
tree995336ac53cd059c6bf9d4ace349a1f7bd8a22f0 /meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-if-module.bb
parentb85100a195305ddca2ac4f37165168f8c65bd22d (diff)
rcar-gen3: adsp-module: Use distro features check
This commit changes to use distro_features_check class to show the correct error message when building adsp modules without its distro feature in local.conf: | ERROR: Nothing PROVIDES 'adsp-fw-module' | adsp-fw-module was skipped: missing required distro feature 'adsp' (not in DISTRO_FEATURES) The USE_ADSP variable is not used anymore in the recipes. It is safe to remove adsp-control.inc requirement. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-if-module.bb')
-rw-r--r--meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-if-module.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-if-module.bb b/meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-if-module.bb
index 4983e75..1689746 100644
--- a/meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-if-module.bb
+++ b/meta-rcar-gen3/recipes-multimedia/adsp-module/adsp-if-module.bb
@@ -1,11 +1,13 @@
DESCRIPTION = "ADSP Interface for Linux"
LICENSE = "CLOSED"
-require include/adsp-control.inc
+inherit distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "adsp"
DEPENDS += "kernel-module-xtensa-hifi"
-SRC_URI = "${@base_conditional('USE_ADSP', '1', 'file://RCG3AHIFL4101ZDP.tar.gz', '', d )}"
+SRC_URI = "file://RCG3AHIFL4101ZDP.tar.gz"
S = "${WORKDIR}/RCG3AHIFL4101ZDP"