summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-devtools
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-02-24 12:17:14 -0800
committerMark Hatle <mark.hatle@xilinx.com>2020-02-27 08:36:00 -0800
commitc6fc0f9a034a3a3c8748e0a650f8728f8c044065 (patch)
treefce8c41839def6bbcfa078f5775f92755155550d /meta-xilinx-standalone/recipes-devtools
parent5b0be603c69b9ba7207acaf343a0df95a861c448 (diff)
downloadmeta-xilinx-c6fc0f9a034a3a3c8748e0a650f8728f8c044065.tar.gz
Ensure that bbappends do not affect task hashes
When the xilinx-standalone distribution is not enabled, we need to make sure that we do not affect various task hashes. This conforms to the Yocto Project Compliance requirements. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone/recipes-devtools')
-rw-r--r--meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend
index 90dbae9a..6a3138a3 100644
--- a/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend
+++ b/meta-xilinx-standalone/recipes-devtools/gcc/gcc-cross-canadian_%.bbappend
@@ -11,8 +11,9 @@ EXTRA_OECONF_append_xilinx-standalone = " \
11# has been removed from TARGET_OS for elf and eabi in gcc-cross-canadian.inc 11# has been removed from TARGET_OS for elf and eabi in gcc-cross-canadian.inc
12 12
13python() { 13python() {
14 extraoeconfgcc = d.getVar('EXTRA_OECONF') 14 if 'xilinx-standalone' in d.getVar("DISTROOVERRIDES").split(':'):
15 extraoeconfgcc += " --with-sysroot=/not/exist" 15 extraoeconfgcc = d.getVar('EXTRA_OECONF')
16 d.delVar('EXTRA_OECONF') 16 extraoeconfgcc += " --with-sysroot=/not/exist"
17 d.setVar('EXTRA_OECONF', extraoeconfgcc) 17 d.delVar('EXTRA_OECONF')
18 d.setVar('EXTRA_OECONF', extraoeconfgcc)
18} 19}