From c51ffb6e2a8243896fc5105c6f6d673ff2ca8a45 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Thu, 30 Nov 2017 02:01:57 +0500 Subject: [PATCH] gcc: align TARGET_SYS and TARGET_PREFIX Align TARGET_SYS and TARGET_PREFIX to avoid binary links which include both: WARNING: gcc-6.2.0-r0 do_package: QA Issue: gcc: Files/directories were installed but not shipped in any package: /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-nm /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-ranlib /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-g++ /usr/bin/arm-mel-linux-gnueabi-arm-none-linux-gnueabi-gcc-ar Moved from meta-mentor. Signed-off-by: Christopher Larson --- core/recipes-devtools/gcc/gcc_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/recipes-devtools/gcc/gcc_%.bbappend b/core/recipes-devtools/gcc/gcc_%.bbappend index bd3b9b1..9949a79 100644 --- a/core/recipes-devtools/gcc/gcc_%.bbappend +++ b/core/recipes-devtools/gcc/gcc_%.bbappend @@ -1,3 +1,6 @@ +# Align TARGET_SYS and TARGET_PREFIX to avoid binary links which include both +TARGET_SYS := "${@TARGET_PREFIX[:-1]}" + # FIXME: resolve gcc version mismatch issues with ${libdir}/gcc/*/ # filesystem paths python () {