diff options
author | Duy Dang <duy.dang.yw@rvc.renesas.com> | 2018-12-12 15:01:46 +0700 |
---|---|---|
committer | Khang Nguyen <khang.nguyen.xw@renesas.com> | 2019-07-10 14:10:02 +0700 |
commit | da9c292170f0626fbeb44911ff0ae7599e0684c3 (patch) | |
tree | 327d57be0b50eb28f86003e7e60c2dc42000b039 | |
parent | 203bb2a9b860d54d54ce47ac8becdb356ee75785 (diff) |
rcar-gen3: arm-trusted-firmware: Allow to add more build option
This commit allows users to add more compile option.
Put the option to arm-trusted-firmware_git.bbappend file like below:
ADDITIONAL_ATFW_OPT = "<build_option>"
Change-Id: I8300750afd8e9afbefcbe7d5407c4aec698702eb
Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com>
Signed-off-by: Khang Nguyen <khang.nguyen.xv@renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
-rw-r--r-- | meta-rcar-gen3/include/arm-trusted-firmware-control.inc | 2 | ||||
-rw-r--r-- | meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-rcar-gen3/include/arm-trusted-firmware-control.inc b/meta-rcar-gen3/include/arm-trusted-firmware-control.inc index 013598d..d305427 100644 --- a/meta-rcar-gen3/include/arm-trusted-firmware-control.inc +++ b/meta-rcar-gen3/include/arm-trusted-firmware-control.inc @@ -6,7 +6,7 @@ EXTRA_ATFW_CONF ?= "" do_ipl_opt_compile () { oe_runmake distclean - oe_runmake bl2 bl31 dummytool PLAT=${PLATFORM} ${EXTRA_ATFW_OPT} ${ATFW_OPT_LOSSY} + oe_runmake bl2 bl31 dummytool PLAT=${PLATFORM} ${EXTRA_ATFW_OPT} ${ATFW_OPT_LOSSY} ${ADDITIONAL_ATFW_OPT} } do_ipl_opt_deploy () { diff --git a/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb b/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb index f12d292..661732f 100644 --- a/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb +++ b/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb @@ -25,6 +25,7 @@ ATFW_OPT_r8a7796 = "LSI=M3 RCAR_DRAM_SPLIT=2 ${ATFW_OPT_LOSSY}" ATFW_OPT_r8a77965 = "LSI=M3N ${ATFW_OPT_LOSSY}" ATFW_OPT_r8a77990 = "LSI=E3 RCAR_SA0_SIZE=0 RCAR_AVS_SETTING_ENABLE=0 RCAR_DRAM_DDR3L_MEMCONF=0 RCAR_DRAM_DDR3L_MEMDUAL=0" ATFW_OPT_append_ulcb = " RCAR_GEN3_ULCB=1 PMIC_LEVEL_MODE=0" +ADDITIONAL_ATFW_OPT ??= "" # requires CROSS_COMPILE set by hand as there is no configure script export CROSS_COMPILE="${TARGET_PREFIX}" @@ -37,7 +38,7 @@ LD[unexport] = "1" do_compile() { oe_runmake distclean - oe_runmake bl2 bl31 dummytool PLAT=${PLATFORM} ${ATFW_OPT} + oe_runmake bl2 bl31 dummytool PLAT=${PLATFORM} ${ATFW_OPT} ${ADDITIONAL_ATFW_OPT} } # do_install() nothing |