public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Richard Weinberger <richard@nod.at>,
	Jeff Dike <jdike@addtoit.com>
Subject: Re: [PATCH 1/3] arch/um/Makefile: remove dead code
Date: Fri, 5 Jul 2013 13:23:52 +0100	[thread overview]
Message-ID: <20130705122352.GR4165@ZenIV.linux.org.uk> (raw)
In-Reply-To: <CALkWK0mcK13RiVjNCrgwEaaL3nBZ1W0R5+cHAhbqiOmRE4UjAg@mail.gmail.com>

On Fri, Jul 05, 2013 at 04:12:30PM +0530, Ramkumar Ramachandra wrote:
> Al Viro wrote:
> > [...]
> > IOW, any make variable (== macro in POSIX quote above) can be explicitly
> > set in make(1) command line in form name=value and in that case nothing in
> > makefile(s) can change its value.  It's true for GNU make, it's true for
> > BSD make and it's been true for historical Unix make since its introduction
> > in v7.
> 
> Thanks Al, the education is much appreciated.  I always thought =
> would override it, and ?= was for default value.

?= is a different story - it refuses to override _any_ earlier declarations,
including ones in makefile itself.  GNU make has added it fairly late, BTW -
in 3.77 (1998); BSD make has grown it at some point during the rewrite
Adam de Boor had been doing in late 80s.  NFI whether he'd invented it or
picked it elsewhere - there had been a lot of cross-pollination between the
variants of make(1) all along...

  reply	other threads:[~2013-07-05 12:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-04 21:03 [PATCH 0/3] Get defconfig to work with ARCH=um Ramkumar Ramachandra
2013-07-04 21:03 ` [PATCH 1/3] arch/um/Makefile: remove dead code Ramkumar Ramachandra
2013-07-04 21:14   ` Richard Weinberger
2013-07-04 23:53   ` Al Viro
2013-07-05 10:42     ` Ramkumar Ramachandra
2013-07-05 12:23       ` Al Viro [this message]
2013-07-04 21:03 ` [PATCH 2/3] arch/um/configs: add defconfig for i386, x86_64 Ramkumar Ramachandra
2013-07-04 21:03 ` [PATCH 3/3] arch/um: migrate to using defconfig in configs/ Ramkumar Ramachandra
2013-07-04 21:27 ` [PATCH 0/3] Get defconfig to work with ARCH=um richard -rw- weinberger
2013-07-04 22:21   ` Ramkumar Ramachandra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130705122352.GR4165@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=artagnon@gmail.com \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard@nod.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox