aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-07-24 06:16:51 +0000
committerWarner Losh <imp@FreeBSD.org>2014-07-24 06:16:51 +0000
commit0aafd404f87c0893837c61556b7f455b20f84e7e (patch)
tree3fb7a9a4a42e48527956b7b74427ca18f7d6c4d7 /Makefile
parente84d8ebfccd21cd2343d7d2987afd66a69e5ce74 (diff)
downloadsrc-0aafd404f87c0893837c61556b7f455b20f84e7e.tar.gz
src-0aafd404f87c0893837c61556b7f455b20f84e7e.zip
Add compat shims for XDEV and XDEV_ARCH so we don't break all the
users of them. Also, add a note to updating. We'll keep these shims at least until the 12 branch.
Notes
Notes: svn path=/head/; revision=269048
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}