Re: [PATCH] change kbuild to not rely on incorrect GNU make behavior

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

 



On Sun, Mar 05, 2006 at 07:41:07PM -0500, Paul D. Smith wrote:
> %% Sam Ravnborg <[email protected]> writes:
> 
>   sr> Thanks Paul.
>   sr> Adapted to -rc4 and applied to my kbuild tree which I have pushed out.
>   sr> For reference I added the applied patch below.
> 
> OK.  Note that this:
> 
>   sr> -.PHONY: tar%pkg
>   sr> +PHONY += tar%pkg
>   sr>  tar%pkg:
> 
> won't do what you expect.  tar%pkg is a pattern rule, but .PHONY doesn't
> take patterns so you're declaring the actual file named literally
> 'tar%pkg' to be phony.

So I can just let all relevant target rules include FORCE as
prerequisite and skip the PHONY part all together.
Thats what FORCE is there for anyway so this is just normal kbuild style
anyway.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux