Date: Tue, 27 Sep 2011 13:23:43 +0200 From: rank1seeker@gmail.com To: hackers@freebsd.org, "h h" <aakuusta@gmail.com> Subject: Re: /usr/src -> make doesn't recognize target when '-f -' is used Message-ID: <20110927.112343.546.2@DEV> In-Reply-To: <86mxdq2tgj.fsf@gmail.com> References: <20110927.093117.140.1@DEV> <86mxdq2tgj.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: h h <aakuusta@gmail.com> 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. Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110927.112343.546.2>