diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2018-07-10 14:05:49 +0200 |
---|---|---|
committer | Stéphane Desneux <stephane.desneux@iot.bzh> | 2018-07-11 08:45:36 +0000 |
commit | 2b589e939424eb2e235a07ef5a0a00c505b24f6d (patch) | |
tree | 655e7e4751ff9e48abd131f4abffe0f44c346309 /templates/base | |
parent | 34ea320758041bd7104b9d19c1658a71d59516d1 (diff) |
Fix cmake build with sdk inside a script
For the sdk build the cmake config file is source:
sysroots/x86_64-aglsdk-linux/environment-setup.d/cmake.sh
But use "alias" :
alias cmake="cmake ..."
Unfortunatly alias is not expand inside a script.
using an environnement variable for "CMAKE_TOOLCHAIN_FILE" solve the
issue.
This Fix is a port of the yocto FIX 139551:
https://patchwork.openembedded.org/patch/139551/
Unfortunatly this patch is not include in yocto upstream
Bug-AGL: SPEC-1530
Change-Id: Ica80f66cbe976a6ccb1acb7d96b4c4ce4252d4f3
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'templates/base')
0 files changed, 0 insertions, 0 deletions