]> git.hungrycats.org Git - linux/commit
[PATCH] ppc: fix build with O=$(output_dir)
authorRoland Dreier <roland@topspin.com>
Thu, 21 Oct 2004 03:56:14 +0000 (20:56 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Thu, 21 Oct 2004 03:56:14 +0000 (20:56 -0700)
commit25bafba34fa979db21ad3bcc2f87489eda935131
tree293f21009c90db33c91a1999248e74063d33902f
parent486969a6a67f1808e1d223abd31d295822660aa6
[PATCH] ppc: fix build with O=$(output_dir)

Recent changes to arch/ppc/boot/lib/Makefile cause

      CC      arch/ppc/boot/lib/../../../../lib/zlib_inflate/infblock.o
    Assembler messages:
    FATAL: can't create arch/ppc/boot/lib/../../../../lib/zlib_inflate/infblock.o: No such file or directory

when building a ppc kernel using O=$(output_dir) with CONFIG_ZLIB_INFLATE=n,
because the $(output_dir)/lib/zlib_inflate directory doesn't get created.

This patch, which makes arch/ppc/boot/lib/Makefile create the
directory if needed, is one fix for the problem.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/boot/lib/Makefile