aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 074be676b387..2e26f7fa8230 100644
--- a/Makefile
+++ b/Makefile
@@ -174,6 +174,13 @@ _TARGET=${TARGET}
.if defined(TARGET_ARCH) && !defined(_TARGET_ARCH)
_TARGET_ARCH=${TARGET_ARCH}
.endif
+# for historical compatibility for xdev targets
+.if defined(XDEV)
+_TARGET= ${XDEV}
+.endif
+.if defined(XDEV_ARCH)
+_TARGET_ARCH= ${XDEV_ARCH}
+.endif
# Otherwise, default to current machine type and architecture.
_TARGET?= ${MACHINE}
_TARGET_ARCH?= ${MACHINE_ARCH}