Browse Source

external-common.bbclass: prefer /usr/${baselib}/bin to ${bindir}

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Christopher Larson 3 years ago
parent
commit
6c1721c0ed
1 changed files with 3 additions and 2 deletions
  1. 3 2
      classes/external-common.bbclass

+ 3 - 2
classes/external-common.bbclass

@@ -59,10 +59,11 @@ EXTERNAL_INSTALL_SOURCE_PATHS = "\
 "
 
 # Potential locations within the external toolchain sysroot
-FILES_PREMIRRORS ?= ""
+FILES_PREMIRRORS = "\
+    ${bindir}/|/usr/${baselib}/bin/\n \
+"
 
 FILES_MIRRORS = "\
-    ${bindir}/|/usr/${baselib}/bin/\n \
     ${base_libdir}/|/usr/${baselib}/\n \
     ${libexecdir}/|/usr/libexec/\n \
     ${libexecdir}/|/usr/${baselib}/${PN}\n \