]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/Makefile: Mark phony targets as PHONY
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Feb 2020 00:04:34 +0000 (11:04 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Mar 2020 11:44:27 +0000 (22:44 +1100)
commitd42c6d0f8d004c3661dde3c376ed637e9f292c22
tree025c48a9095a4afee2493f599e9805536bcf9dd7
parent6453f9ed9d4e4b4cdf201bf34bf460c436bf50ea
powerpc/Makefile: Mark phony targets as PHONY

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@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200219000434.15872-1-mpe@ellerman.id.au
arch/powerpc/Makefile
arch/powerpc/boot/Makefile