mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kbuild/ppc: Fix to enable build of ppc again
@ 2004-09-11 21:36 Sam Ravnborg
  0 siblings, 0 replies; only message in thread
From: Sam Ravnborg @ 2004-09-11 21:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Tom Rini, Olaf Hering, linux-kernel

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 sam@mars.ravnborg.org 
#   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 <sam@ravnborg.org>
# 
# arch/ppc/boot/lib/Makefile
#   2004/09/11 23:25:28+02:00 sam@mars.ravnborg.org +2 -2
#   fix path in addprefix
# 
diff -Nru a/arch/ppc/boot/lib/Makefile b/arch/ppc/boot/lib/Makefile
--- a/arch/ppc/boot/lib/Makefile	2004-09-11 23:26:41 +02:00
+++ b/arch/ppc/boot/lib/Makefile	2004-09-11 23:26:41 +02:00
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-11 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-11 21:36 kbuild/ppc: Fix to enable build of ppc again Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®