From: Ilias Apalodimas Date: Wed, 11 Jun 2025 20:24:38 +0000 (+0300) Subject: kbuild: mark prepare0 as PHONY to fix external module build X-Git-Tag: v2025.10-rc1~118^2~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a247d1376302ebdb05af3a15a1788b987d53a1a;p=pandora-u-boot.git kbuild: mark prepare0 as PHONY to fix external module build Backported from kernel commit e00d88804814 ("kbuild: mark prepare0 as PHONY to fix external module build") Signed-off-by: Ilias Apalodimas --- diff --git a/Makefile b/Makefile index 4e339ef4bb9..a31e89d7749 100644 --- a/Makefile +++ b/Makefile @@ -1739,6 +1739,7 @@ u-boot.elf: u-boot.bin u-boot-elf.lds u-boot-elf.lds: arch/u-boot-elf.lds prepare FORCE $(call if_changed_dep,cpp_lds) +PHONY += prepare0 # MediaTek's ARM-based u-boot needs a header to contains its load address # which is parsed by the BootROM. # If the SPL build is enabled, the header will be added to the spl binary, @@ -1950,7 +1951,7 @@ include/config/uboot.release: include/config/auto.conf FORCE # version.h and scripts_basic is processed / created. # Listed in dependency order -PHONY += prepare archprepare prepare0 prepare1 prepare3 +PHONY += prepare archprepare prepare1 prepare3 # prepare3 is used to check if we are building in a separate output directory, # and if so do: