Browse Source

external-common.bbclass: import oe.external right away

This aligns with what base.bbclass does.

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

+ 1 - 0
classes/external-common.bbclass

@@ -1,4 +1,5 @@
 OE_IMPORTS += "oe.external"
+OE_IMPORTED := "${@oe_import(d)}"
 
 EXTERNAL_TOOLCHAIN_SYSROOT ?= "${@oe.external.run(d, 'gcc', *(TARGET_CC_ARCH.split() + ['-print-sysroot'])).rstrip()}"
 EXTERNAL_TOOLCHAIN_LIBROOT ?= "${@oe.external.run(d, 'gcc', *(TARGET_CC_ARCH.split() + ['-print-file-name=crtbegin.o'])).rstrip().replace('/crtbegin.o', '')}"