From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../meta-rcar-gen3/include/dtv-dvd-control.inc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 bsp/meta-renesas/meta-rcar-gen3/include/dtv-dvd-control.inc (limited to 'bsp/meta-renesas/meta-rcar-gen3/include/dtv-dvd-control.inc') diff --git a/bsp/meta-renesas/meta-rcar-gen3/include/dtv-dvd-control.inc b/bsp/meta-renesas/meta-rcar-gen3/include/dtv-dvd-control.inc new file mode 100644 index 00000000..07c4d5f0 --- /dev/null +++ b/bsp/meta-renesas/meta-rcar-gen3/include/dtv-dvd-control.inc @@ -0,0 +1,19 @@ +# USE_DTV for ISDB-T DTV Software Package +USE_DTV = "${@'1' if 'dtv' in '${DISTRO_FEATURES}' else '0'}" + +# USE_DVD for DVD Core-Middleware for Linux +USE_DVD = "${@'1' if 'dvd' in '${DISTRO_FEATURES}' else '0'}" + +# USE_DVD_ENCRYPTION_LIB for DVD Encryption Library for Linux +USE_DVD_ENCRYPTION_LIB = "${@'1' if 'dvd_encryption_library' in '${DISTRO_FEATURES}' else '0'}" + +# This function to prevent build DTV feature with E3 +python do_dtv_checking () { + soc = d.getVar('SOC_FAMILY') + soc = soc.split(':')[1] + use_dtv = d.getVar('USE_DTV') + if use_dtv == "1" and soc == "r8a77990": + bb.fatal("E3 (SoC: r8a77990) does not support SSP, please disable DTV feature in your local configuration") +} + +addtask dtv_checking before do_configure after do_patch -- cgit 1.2.3-korg