arm64: fix boot image dependencies to not generate invalid images
commit9ca4e58c20d5cb2a5bc378238188c71317aceac5
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 21 Jun 2016 01:44:00 +0000 (21 10:44 +0900)
committerWill Deacon <will.deacon@arm.com>
Tue, 21 Jun 2016 19:10:18 +0000 (21 20:10 +0100)
tree8621f4d7b173c41d62cbd8584412bf50a6b61028
parentf7e0efc9b50266f5317b50732efff98d40fc879a
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 <catalin.marinas@arm.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Makefile