From owner-svn-src-all@FreeBSD.ORG Thu Feb 10 13:50:07 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 335D5106566B; Thu, 10 Feb 2011 13:50:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id DAF878FC1B; Thu, 10 Feb 2011 13:50:06 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 40F4741C6FC; Thu, 10 Feb 2011 14:50:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 6n4pK8CFg-CY; Thu, 10 Feb 2011 14:50:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 863C341C6EA; Thu, 10 Feb 2011 14:50:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 4C0E94448F3; Thu, 10 Feb 2011 13:45:36 +0000 (UTC) Date: Thu, 10 Feb 2011 13:45:36 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Warner Losh In-Reply-To: <201101311517.p0VFHl9F028038@svn.freebsd.org> Message-ID: <20110210134108.D80258@maildrop.int.zabbadoz.net> References: <201101311517.p0VFHl9F028038@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218130 - head X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 13:50:07 -0000 On Mon, 31 Jan 2011, Warner Losh wrote: > Author: imp > Date: Mon Jan 31 15:17:47 2011 > New Revision: 218130 > URL: http://svn.freebsd.org/changeset/base/218130 > > Log: > Move the architecture guessing from Makefile.inc1 to Makefile. We > need to do this because variables specified on the command line > override those specified in the Makefile. This is why we also moved > from TARGET to _TARGET in Makefile, and then set TARGET on the command > line when we fork a submake with Makefile.inc1. > > This makes mips/mips work again, even without the workaround committed to > lib/libc/Makefile. > > Modified: > head/Makefile > head/Makefile.inc1 Hey, not sure if it's a result of this commit or one of the many others: env MAKEOBJDIRPREFIX=/path/to/obj make -f Makefile.inc1 hierarchy \ -DWITHOUT_TOOLCHAIN \ __MAKE_CONF=/path/to/make.conf SRCCONF=/path/to/src.conf \ DESTDIR=/path/to/destdir \ TARGET=i386 results in: "/path/to/base9-201102092305/Makefile.inc1", line 127: Unknown target :i386. This used to work before. TARGET_ARCH is unset, TARGET=i386 thus they differ and thus the check there tries to find "/i386" rather than just "i386". Is it a rather unsupported thing or what's the proper way to fix it? As a workaround I was also setting TARGET_ARCH=i386 for the moment. /bz -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family.