path: root/arch/arm64/Makefile
diff options
authorMasahiro Yamada <>2016-06-21 10:44:00 +0900
committerWill Deacon <>2016-06-21 20:10:18 +0100
commit9ca4e58c20d5cb2a5bc378238188c71317aceac5 (patch)
tree8621f4d7b173c41d62cbd8584412bf50a6b61028 /arch/arm64/Makefile
parentf7e0efc9b50266f5317b50732efff98d40fc879a (diff)
arm64: fix boot image dependencies to not generate invalid images
I fixed boot image dependencies for arch/arm in commit 3939f3345050 ("ARM: 8418/1: add boot image dependencies to not generate invalid images"). I see a similar problem for arch/arm64; "make -jN Image Image.gz" would sometimes end up generating bad images where N > 1. Fix the dependency in arch/arm64/Makefile to avoid the race between "make Image" and "make Image.*". Acked-by: Catalin Marinas <> Signed-off-by: Masahiro Yamada <> Signed-off-by: Will Deacon <>
Diffstat (limited to 'arch/arm64/Makefile')
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 7085e322dc42..648a32c89541 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -95,7 +95,7 @@ boot := arch/arm64/boot
Image: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
-Image.%: vmlinux
+Image.%: Image
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
zinstall install: