meta: Allow TARGET_SPEC_VARS to be overridden

Reviewed by:	sjg
Obtained from:	Juniper Networks, Inc.
This commit is contained in:
Stephen J. Kiernan 2023-04-18 00:25:59 -04:00
parent 76735c7439
commit d664658015

View File

@ -52,7 +52,7 @@ MACHINE_ARCH:= ${MACHINE_ARCH.${MACHINE}}
# now because for universe we want to potentially
# build for multiple MACHINE_ARCH per MACHINE
# we need more than MACHINE in TARGET_SPEC
TARGET_SPEC_VARS= MACHINE MACHINE_ARCH
TARGET_SPEC_VARS?= MACHINE MACHINE_ARCH
# see dirdeps.mk
.if ${TARGET_SPEC:Uno:M*,*} != ""
_tspec := ${TARGET_SPEC:S/,/ /g}