From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 27 16:23:54 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 3D4FB106566B for ; Tue, 27 Sep 2011 16:23:54 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id C7F158FC0C for ; Tue, 27 Sep 2011 16:23:53 +0000 (UTC) Received: by eyg7 with SMTP id 7so6682227eyg.13 for ; Tue, 27 Sep 2011 09:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:in-reply-to:references:x-mailer; bh=nByYrQf45o6uKarRg3zyfk22U0dsW3AcFfCCZ83qGmk=; b=FG/4+5HIgRHwaxjkeL9m6wqdJYZWubFJiFuF5U9yx1VJebbir8sW2EKxynShqRnXDD AWf11UprUNndM5B6Bms6uInaAZ8a6+3fJc9eit+XHDNUc7NeduGQVhpE63bCnYeByWoi IlszjsmZTRa/fePSnkDWyZFjV0w3iDykTT5kw= Received: by 10.213.2.206 with SMTP id 14mr582982ebk.77.1317140632660; Tue, 27 Sep 2011 09:23:52 -0700 (PDT) Received: from DEV ([82.193.208.173]) by mx.google.com with ESMTPS id z54sm71831757eef.2.2011.09.27.09.23.42 (version=SSLv3 cipher=OTHER); Tue, 27 Sep 2011 09:23:50 -0700 (PDT) Message-ID: <20110927.162348.046.5@DEV> From: rank1seeker@gmail.com To: hackers@freebsd.org Date: Tue, 27 Sep 2011 18:23:48 +0200 In-Reply-To: References: <20110927.093117.140.1@DEV> <86mxdq2tgj.fsf@gmail.com> <20110927.112343.546.2@DEV> X-Mailer: POP Peeper (3.8.0.0) Cc: 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:23:54 -0000 ----- Original Message ----- From: Chris Rees To: rank1seeker@gmail.com Cc: h h , hackers@freebsd.org Date: Tue, 27 Sep 2011 17:16:57 +0100 Subject: Re: /usr/src -> make doesn't recognize target when '-f -' is used > 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 The point is, that I've gave answer to myself. I figured it out, a little bit later ..., so it is solved now. Thank you all.