Re: Fwd: [tip:x86/x32] x32: Warn and disable rather than error if binutils too old

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 27, 2012 at 02:49:27PM -0800, H. Peter Anvin wrote:
> Kbuild people - for the lack of a way to doing toolchain dependencies in
> Kconfig I'm doing this right now for x32 support.  I am a little unclear
> if this is the right thing to do, especially if I should be using := or

Looks good at first look.

":=" is almost always the right choice if this is not part of a rule somewhere.
With ":=" the rhs is only evaluated once and the result stored in the
variable on the lhs.

In this particular case you only use the lhs once - so there is no
real difference.

Another important difference is that with ":=" the rhs is evaluated when
make see it first time.
With "=" make defer it until the lhs is used.

again in you case there is no difference as you use the lhs just after
you have the assignment.

[But I guess you already knew all this...]

	Sam


--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux