@@ -3,6 +3,7 @@ OVERRIDES = "local\
:DISTRO_${DISTRO}\
:__TARGET__:TARGET_CPU_${TARGET_CPU}:TARGET_OS_${TARGET_OS}\
:__HOST__:HOST_CPU_${HOST_CPU}:HOST_OS_${HOST_OS}\
+:__BUILD__:BUILD_CPU_${BUILD_CPU}:BUILD_OS_${BUILD_OS}\
:${RECIPE_TYPE}\
"
#TARGET_OVERRIDES = ":TARGET_CPU_${TARGET_CPU}:TARGET_OS_${TARGET_OS}"
@@ -34,7 +35,7 @@ def late_overrides_fixup(d):
if (d.get("TARGET_ARCH") != d.get("MACHINE_ARCH") and
"MACHINE_${MACHINE}" in overrides):
overrides.remove("MACHINE_${MACHINE}")
- for type in ('HOST', 'TARGET'):
+ for type in ('BUILD', 'HOST', 'TARGET'):
real_type = d.get(type + '_TYPE').upper()
os = d.get(type + '_OS')
families = d.get(real_type + '_CPU_FAMILIES')