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.
This commit is contained in:
Warner Losh
2014-07-24 06:16:51 +00:00
parent e84d8ebfcc
commit 0aafd404f8
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -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}