[PATCH] powerpc/Makefile: Mark phony targets as PHONY
Masahiro Yamada
masahiroy at kernel.org
Tue Feb 18 23:40:26 AEDT 2020
On Tue, Feb 18, 2020 at 8:19 PM Michael Ellerman <mpe at ellerman.id.au> wrote:
>
> Some of our phony targets are not marked as such. This can lead to
> confusing errors, eg:
>
> $ make clean
> $ touch install
> $ make install
> make: 'install' is up to date.
> $
>
> Fix it by adding them to the PHONY variable which is marked phony in
> the top-level Makefile. In arch/powerpc/boot/Makefile we do it
> manually.
You can do likewise in arch/powerpc/boot/Makefile
because it is marked phony in scripts/Makefile.build
--
Best Regards
Masahiro Yamada
More information about the Linuxppc-dev
mailing list