From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 27 16:46:18 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1D29106566B for ; Tue, 27 Sep 2011 16:46:18 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB218FC0C for ; Tue, 27 Sep 2011 16:46:18 +0000 (UTC) Received: by iadk27 with SMTP id k27so9482069iad.13 for ; Tue, 27 Sep 2011 09:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CWqSz0cCWMGZnyV4MP/BYHS2quHZvbbtcxOjP9GkcqI=; b=U/Rj7wqNBwxXsIotuQlXcQb5pED/SIW3dvF8JhwvBNrV+W2q/c5010AGTt7eOnrMVm /n0acnJvQjAzafHdKZyDcIQu0nJnPtEy5AS2FZDCkjgvbgoSzvl6fQ/+PW0ZNVigP2/U yItk4LeDVPjhdv+rXRpZTUHtO6dtPVFwedwt4= MIME-Version: 1.0 Received: by 10.231.65.73 with SMTP id h9mr10961897ibi.21.1317140218052; Tue, 27 Sep 2011 09:16:58 -0700 (PDT) Received: by 10.231.35.194 with HTTP; Tue, 27 Sep 2011 09:16:57 -0700 (PDT) Received: by 10.231.35.194 with HTTP; Tue, 27 Sep 2011 09:16:57 -0700 (PDT) In-Reply-To: <20110927.112343.546.2@DEV> References: <20110927.093117.140.1@DEV> <86mxdq2tgj.fsf@gmail.com> <20110927.112343.546.2@DEV> Date: Tue, 27 Sep 2011 17:16:57 +0100 Message-ID: From: Chris Rees To: rank1seeker@gmail.com X-Mailman-Approved-At: Tue, 27 Sep 2011 17:02:40 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: h h , hackers@freebsd.org Subject: Re: /usr/src -> make doesn't recognize target when '-f -' is used X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2011 16:46:18 -0000 On 27 Sep 2011 12:24, wrote: > > ----- Original Message ----- > From: h h > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org > Date: Tue, 27 Sep 2011 10:03:08 +0000 > Subject: Re: /usr/src -> make doesn't recognize target when '-f -' is used > > > rank1seeker@gmail.com writes: > > > > > cd /usr/src > > > > > > This works: > > > -- > > > # echo 'CPUTYPE?=core2 > > > CFLAGS+=-march=native > > > NO_CPU_CFLAGS=yes > > > COPTFLAGS+=-march=native > > > NO_CPU_COPTFLAGS=yes' | /usr/bin/make __MAKE_CONF=/dev/null -f - -V > CPUTYPE > > > -- > > [...] > > > > No, it doesn't. > > > > According to make(1) manpage, it reads BSDmakefile, makefile or Makefile > > unless -f is specified. > > Well, via STDIN, I've attempted to feed it, with syntaks from a 'make.conf' > file, so I wouldn't have to provide file, via __MAKE_CONF. > Looking again in man pages, I see that -f flag relates to Makefile syntaks > and NOT to the make.conf. > Yes, it means that make reads the Makefile from stdin instead of from the Makefile; if you use -f then the Makefile isn't read -- the make.conf has nothing to do with -f. What have you misunderstood? As far as I can see, you're contradicting yourself. Chris