Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1358238

Re: [PATCH] kbuild: drop FORCE from PHONY targets

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH] kbuild: drop FORCE from PHONY targets
Date 2016-03-15 21:50 +0100
Message-ID <rd44G-7jA-13@gated-at.bofh.it> (permalink)
References (4 earlier) <rcssq-7f5-7@gated-at.bofh.it> <rcsC6-7iI-29@gated-at.bofh.it> <rcuaS-8sW-9@gated-at.bofh.it> <rd1Tb-5O3-1@gated-at.bofh.it> <rd44G-7jA-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 15, 2016 at 1:45 PM, Michal Marek <mmarek@suse.com> wrote:
> Dne 15.3.2016 v 19:27 Andy Lutomirski napsal(a):
>> Fair enough, although I'm curious why this happens.  It might be worth
>> changing the docs to say that .PHONY is *not* an substitute for FORCE
>> in that context, then.
>
> These two are unrelated, except that FORCE is redundant for a .PHONY
> target. FORCE is our idiom to tell make to always remake the target and
> let us handle the dependencies manually. Listing a target as .PHONY
> tells make that the target will not produce a file of the same name
> (typically, "all", "install", etc).
>

Except that apparently if-changed doesn't work on .PHONY targets that
don't specify FORCE, which confuses me.

--Andy


-- 
Andy Lutomirski
AMA Capital Management, LLC

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] kbuild: drop FORCE from PHONY targets Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-03-13 01:20 +0100
  Re: [PATCH] kbuild: drop FORCE from PHONY targets Andy Lutomirski <luto@amacapital.net> - 2016-03-14 01:50 +0100
    Re: [PATCH] kbuild: drop FORCE from PHONY targets Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-03-14 05:10 +0100
      Re: [PATCH] kbuild: drop FORCE from PHONY targets Andy Lutomirski <luto@amacapital.net> - 2016-03-14 05:30 +0100
        Re: [PATCH] kbuild: drop FORCE from PHONY targets Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-03-14 05:40 +0100
          Re: [PATCH] kbuild: drop FORCE from PHONY targets Andy Lutomirski <luto@amacapital.net> - 2016-03-14 05:50 +0100
            Re: [PATCH] kbuild: drop FORCE from PHONY targets Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-03-14 07:30 +0100
              Re: [PATCH] kbuild: drop FORCE from PHONY targets Andy Lutomirski <luto@amacapital.net> - 2016-03-15 19:30 +0100
                Re: [PATCH] kbuild: drop FORCE from PHONY targets Michal Marek <mmarek@suse.com> - 2016-03-15 21:50 +0100
                Re: [PATCH] kbuild: drop FORCE from PHONY targets Andy Lutomirski <luto@amacapital.net> - 2016-03-15 21:50 +0100
                Re: [PATCH] kbuild: drop FORCE from PHONY targets Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-03-17 05:00 +0100

csiph-web