Re: Which behavior is expected of $(shell )

2022-11-21 Thread Changqing Li
On 11/22/22 12:08, Paul Smith wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, 2022-11-22 at 11:12 +0800, Changqing Li wrote: Here is what the make manual says,

Re: Which behavior is expected of $(shell )

2022-11-21 Thread Paul Smith
On Tue, 2022-11-22 at 11:12 +0800, Changqing Li wrote: > Here is what the make manual says, > > 6.10 Variables from the Environment It's not really related to this section. It's related to how the shell function works. From that section of the manual we see: | All variables that are marked as

Re: Which behavior is expected of $(shell )

2022-11-21 Thread Changqing Li
Add more info: For make 4.3: $make KBUILD_OUTPUT=test KBUILD_OUTPUT in shell is KBUILD_OUTPUT is test For make 4.4: $make KBUILD_OUTPUT=test KBUILD_OUTPUT in shell is test KBUILD_OUTPUT is test On 11/22/22 11:12, Changqing Li wrote: Hi, Here is the Makefile: KBUILD_OUTPUT = defs := $(