[PATCH v2] powerpc/Makefile: Mark phony targets as PHONY

Masahiro Yamada masahiroy at kernel.org
Wed Feb 19 13:18:27 AEDT 2020


On Wed, Feb 19, 2020 at 9:04 AM 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, or in scripts/Makefile.build for the boot
> Makefile.
>
> Suggested-by: Masahiro Yamada <masahiroy at kernel.org>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> ---

Reviewed-by: Masahiro Yamada <masahiroy at kernel.org>



-- 
Best Regards
Masahiro Yamada


More information about the Linuxppc-dev mailing list