diff options
author | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2018-06-14 18:44:22 +0700 |
---|---|---|
committer | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2018-06-18 17:55:58 +0700 |
commit | 99bc1ac77c83f53ea321b20ee4ccb5d4cc8daee5 (patch) | |
tree | b801c806955c9f8c2ac9e117f402e1316f0a5e17 /meta-rcar-gen3/recipes-kernel | |
parent | 9919a40ba145ce721272d9f78f51959f898eaca4 (diff) |
rcar-gen3: kernel-module-adsp: Enable build target for E3 board
E3 build target board was disabled default in Kbuild configuration:
DTARGET_BOARD_E3=0
This commit sets "DTARGET_BOARD_E3=1" automatically when target
board is E3.
Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-kernel')
-rw-r--r-- | meta-rcar-gen3/recipes-kernel/kernel-module-adsp/kernel-module-xtensa-hifi.bb | 5 |
1 files changed, 5 insertions, 0 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 a80b5e5..60c9717 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 @@ -21,6 +21,11 @@ EXTRA_OEMAKE_append = " KDIR=${STAGING_KERNEL_DIR}" # Build ADSP kernel module without suffix KERNEL_MODULE_PACKAGE_SUFFIX = "" +# Enable build target for E3 board +do_configure_prepend_r8a77990(){ + sed -i 's|-DTARGET_BOARD_E3=0|-DTARGET_BOARD_E3=1|g' ${S}/Kbuild +} + do_install_append(){ # Create install directories install -d ${D}/${includedir} |