Re: [PATCH] kbuild: document KBUILD_SHELL

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

 



> 
> The variable is assinged with a ":=", not a "?=", so you can't change it
> from outside, can you?

Variables assigned with ":=" can be changed like this:

$ cat Makefile
FOO := fisk
$(info FOO=$(FOO))
all:
	@:

$ FOO=bar make
FOO=fisk

$ make FOO=bar
FOO=bar


The first is the same as using an environment variable.
The latter is a special make syntax.

	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