On 4 December 2016 at 04:51, Manjukumar Harthikote Matha
<[email protected]> wrote:
> ACK

Merged.

Thanks,
Nathan

>
>> -----Original Message-----
>> From: Nathan Rossi [mailto:[email protected]]
>> Sent: Friday, December 02, 2016 11:22 PM
>> To: [email protected]
>> Cc: Nathan Rossi; Manjukumar Harthikote Matha
>> Subject: [PATCH] arm-trusted-firmware: Handle out-of-tree builds
>>
>> Handle building where B != S, allowing for the source and build artefacts to 
>> be
>> separated. This allows for out-of-tree building, and enabling use of 
>> EXTERNALSRC
>> such that the build artefacts are not written into the EXTERNALSRC directory.
>>
>> Signed-off-by: Nathan Rossi <[email protected]>
>> ---
>>  recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 5 +++--
>>  1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
>> b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
>> index 4cd9cf3f7f..bead46727a 100644
>> --- a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
>> +++ b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
>> @@ -10,6 +10,7 @@ inherit deploy
>>  DEPENDS += "u-boot-mkimage-native"
>>
>>  S = "${WORKDIR}/git"
>> +B = "${WORKDIR}/build"
>>
>>  BRANCH = "master"
>>  SRC_URI = "git://github.com/Xilinx/arm-trusted-
>> firmware.git;protocol=https;branch=${BRANCH}"
>> @@ -36,14 +37,14 @@ do_configure() {
>>  }
>>
>>  do_compile() {
>> -     oe_runmake PLAT=${PLATFORM} RESET_TO_BL31=1 bl31
>> +     oe_runmake -C ${S} BUILD_BASE=${B} PLAT=${PLATFORM}
>> RESET_TO_BL31=1
>> +bl31
>>  }
>>
>>  do_install() {
>>       :
>>  }
>>
>> -OUTPUT_DIR = "${S}/build/${PLATFORM}/release"
>> +OUTPUT_DIR = "${B}/${PLATFORM}/release"
>>
>>  do_deploy() {
>>       install -d ${DEPLOYDIR}
>> --
>> 2.10.2
>
>
>
> This email and any attachments are intended for the sole use of the named 
> recipient(s) and contain(s) confidential information that may be proprietary, 
> privileged or copyrighted under applicable law. If you are not the intended 
> recipient, do not read, copy, or forward this email message or any 
> attachments. Delete this email message and any attachments immediately.
>
-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to