aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3
diff options
context:
space:
mode:
authorDuy Dang <duy.dang.yw@rvc.renesas.com>2018-07-29 23:50:07 -0400
committerKhang Nguyen <khang.nguyen.xv@renesas.com>2018-10-29 13:41:32 +0700
commitba5cacef79c608429a8eed7cb0bf69a688cc63df (patch)
tree92c2abb988ef2a2cb084ce0c12ba5713a1fd52d9 /meta-rcar-gen3
parent75d7471d1ef4823739333d10993493b64cbda126 (diff)
rcar-gen3: kernel-module-xtensa-hifi: Use distro features check
The improper error occurs when building Kernel module ADSP without its distro feature enabled in local.conf: | ERROR: kernel-module-xtensa-hifi-1.0-r0 do_populate_lic: QA Issue: kernel-module-xtensa-hifi: LIC_FILES_CHKSUM points to an invalid file This commit modifies recipe to use distro_features_check class that provides the proper error: | ERROR: Nothing PROVIDES 'kernel-module-xtensa-hifi' | kernel-module-xtensa-hifi was skipped: missing required distro feature 'adsp' (not in DISTRO_FEATURES) 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')
-rw-r--r--meta-rcar-gen3/recipes-kernel/kernel-module-adsp/kernel-module-xtensa-hifi.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-adsp/kernel-module-xtensa-hifi.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-adsp/kernel-module-xtensa-hifi.bb
index 60c9717..62f10d6 100644
--- a/meta-rcar-gen3/recipes-kernel/kernel-module-adsp/kernel-module-xtensa-hifi.bb
+++ b/meta-rcar-gen3/recipes-kernel/kernel-module-adsp/kernel-module-xtensa-hifi.bb
@@ -6,12 +6,13 @@ LIC_FILES_CHKSUM = " \
file://MIT-COPYING;md5=f932f6ad0feea4f97b6e8316e172070e \
"
-require include/adsp-control.inc
-inherit module
+inherit module distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "adsp"
FILESEXTRAPATHS_prepend := "${THISDIR}/xtensa-hifi:"
-SRC_URI = "${@base_conditional('USE_ADSP', '1', 'file://RCG3AHPDL4101ZDO.tar.gz', '', d)}"
+SRC_URI = "file://RCG3AHPDL4101ZDO.tar.gz"
S = "${WORKDIR}/RCG3AHPDL4101ZDO"