Browse Source

Revert "oe.external: use EXTERNAL_CC for gcc"

This reverts commit 2a3cffd458ec135b2b1b3afcd52bcd3e389b3507.
Christopher Larson 3 years ago
parent
commit
7d2c754318
1 changed files with 1 additions and 4 deletions
  1. 1 4
      lib/oe/external.py

+ 1 - 4
lib/oe/external.py

@@ -10,10 +10,7 @@ def run(d, cmd, *args):
     topdir = d.getVar('TOPDIR')
     toolchain_path = d.getVar('EXTERNAL_TOOLCHAIN')
     if toolchain_path:
-        if cmd == 'gcc':
-            target_cmd = d.getVar('EXTERNAL_CC') or d.getVar('EXTERNAL_TARGET_SYS') + '-gcc'
-        else:
-            target_cmd = d.getVar('EXTERNAL_TARGET_SYS') + '-' + cmd
+        target_cmd = d.getVar('EXTERNAL_TARGET_SYS') + '-' + cmd
         toolchain_bin = d.getVar('EXTERNAL_TOOLCHAIN_BIN')
         path = os.path.join(toolchain_bin, target_cmd)
         args = shlex.split(path) + list(args)