]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Avoid circular dependency with zImage.%
authorMichal Marek <mmarek@suse.cz>
Wed, 11 Jun 2014 11:53:48 +0000 (13:53 +0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 12 Jun 2014 08:07:35 +0000 (10:07 +0200)
commit6951901da0035a7b38b00dc9709ed0cb6150f2b5
tree276133927511759e46fac12f7b747fe939c26a6d
parent7f3fc79786a2c4eda3af3c2190902965a5dbe7e9
powerpc: Avoid circular dependency with zImage.%

The rule to create the final images uses a zImage.% pattern.
Unfortunately, this also matches the names of the zImage.*.lds linker
scripts, which appear as a dependency of the final images. This somehow
worked when $(srctree) used to be an absolute path, but now the pattern
matches too much. List only the images from $(image-y) as the target of
the rule, to avoid the circular dependency.

Reported-and-tested-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
arch/powerpc/boot/Makefile