From ec6bcfa1f83969714cb9f6fc9114a3d3bd48bb23 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Mon, 29 Apr 2013 15:58:04 +0000 Subject: [PATCH] A transition period of more than two years is more than enough: Remove the compatibility code added in 2011-02-10. This change is not intended for MFC Reviewed by: imp --- Makefile.inc1 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 585e016b8f4a..6ea683057f3f 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -41,13 +41,6 @@ # /usr/share/mk. These include: # obj depend all install clean cleandepend cleanobj -# You are supposed to define both of these when calling Makefile.inc1 -# directly. However, some old scripts don't. Cope for the moment, but -# issue a new warning for a transition period. -.if defined(TARGET) && !defined(TARGET_ARCH) -.warning "You must pass both TARGET and TARGET_ARCH to Makefile.inc1. Setting TARGET_ARCH=${TARGET}." -TARGET_ARCH=${TARGET} -.endif .if !defined(TARGET) || !defined(TARGET_ARCH) .error "Both TARGET and TARGET_ARCH must be defined." .endif