Skip to contentSkip to conversation

kbuild/ppc: Fix to enable build of ppc again

PATCH Sam Ravnborg 1 participant 1 message Sep 11, 2004

lore
Share & tools
lore
#0 lore raw

Hi Linus - please apply.

I tricked Tom Rini into doing some wrong modifications to arch/ppc/boot/lib/Makefile. The result is that ppc cannot be build (at least not the boot/lib part).

The attaced patch fixes this.
Compile tested.

Please pull from:

bk pull bk://linux-sam.bkbits.net/kbuild

(This is the only patch pushed).

Sam

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/09/11 23:25:45+02:00 [email protected]
# kbuild/ppc: Fix build of zlib in arch/ppc/boot/lib
#
# $(addprefix ...) needs a directory relative to current directory, because
# kbuild prefixes the filename with '$(obj)/'
#
# Signed-off-by: Sam Ravnborg <[email protected]>
#
# arch/ppc/boot/lib/Makefile
# 2004/09/11 23:25:28+02:00 [email protected] +2 -2
# fix path in addprefix
#

arch/ppc/boot/lib/Makefile +2 -2
diff -Nru a/arch/ppc/boot/lib/Makefile b/arch/ppc/boot/lib/Makefile
@@ -4,7 +4,7 @@
 
 CFLAGS_kbd.o	+= -Idrivers/char
 
-lib-y := $(addprefix lib/zlib_inflate/,infblock.o infcodes.o inffast.o \
-				       inflate.o inftrees.o infutil.o)
+lib-y := $(addprefix ../../../../lib/zlib_inflate/, \
+           infblock.o infcodes.o inffast.o inflate.o inftrees.o infutil.o)
 lib-y += div64.o
 lib-$(CONFIG_VGA_CONSOLE) += vreset.o kbd.o