From owner-cvs-all@FreeBSD.ORG Thu Sep 7 07:37:19 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF5F816A4E1; Thu, 7 Sep 2006 07:37:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37F8F43D6D; Thu, 7 Sep 2006 07:37:17 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k877bH72062769; Thu, 7 Sep 2006 07:37:17 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k877bHHo062768; Thu, 7 Sep 2006 07:37:17 GMT (envelope-from imp) Message-Id: <200609070737.k877bHHo062768@repoman.freebsd.org> From: Warner Losh Date: Thu, 7 Sep 2006 07:37:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src Makefile.inc1 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 07:37:20 -0000 imp 2006-09-07 07:37:16 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: make "make TARGET=foo" work correctly. Before, it would fail to set TARGET_ARCH correctly. Now it does, even for pc98. We should suggest TARGET=foo in preference to TARGET_ARCH because the former is unambiguous and the latter isn't, so update the docs. This means that a long standing gripe I've had with this comes to a close. I can build pc98 w/o specify both things. make TARGET=arm works (rather than trying to build a arm:amd64 image and dying badly in the attempt). If you specify only TARGET_ARCH, then you get the old behavior. # we can likely simplify the UNIVERSE target now to use this, but I'm not # up for breaking that tonight :-). # We should consider adding some kind of sanity check for TARGET_ARCH # and TARGET. Revision Changes Path 1.555 +4 -1 src/Makefile.inc1