linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Minor makefile fixes
@ 2000-04-06 19:12 Pavel Roskin
  2000-04-07  6:54 ` Cort Dougan
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Roskin @ 2000-04-06 19:12 UTC (permalink / raw)
  To: linuxppc-embedded


Hello!

I'm going to post some trivial differences between the kernel sources used
in Transcept, Inc. and the kernel used in MontaVista's Hard Hat linux.

I hope that somebody will take care of them.

The patch for arch/ppc/kernel/Makefile is necessary because we are using a
version control system that makes files read-only.
If ppc_defs.head is read-only, then ppc_defs.h is read-only too, and the
subsequent grep fails.

I believe that the build system should not assume source files being
writeable.

The patch to drivers/macintosh/Makefile reduces the number of bloat that
goes into the kernel e.g. for RPX/Lite. No embedded boards should ever
need the ADB stuff. This is for PMAC and CHRP only.

Regards,
Pavel Roskin

=== cut here ===
diff --exclude-from=reviewed -urN linux/arch/ppc/kernel/Makefile out/arch/ppc/kernel/Makefile
--- linux/arch/ppc/kernel/Makefile	Tue Apr  4 12:36:23 2000
+++ out/arch/ppc/kernel/Makefile	Thu Mar  2 11:35:59 2000
@@ -68,7 +68,7 @@
 		$(TOPDIR)/include/asm/pgtable.h \
 		$(TOPDIR)/include/asm/ptrace.h
 	$(CC) ${CFLAGS} -S mk_defs.c
-	cp ppc_defs.head ppc_defs.h
+	cat ppc_defs.head >ppc_defs.h
 	grep '^#define' mk_defs.s >>ppc_defs.h
 	rm mk_defs.s

diff --exclude-from=reviewed -urN linux/drivers/macintosh/Makefile out/drivers/macintosh/Makefile
--- linux/drivers/macintosh/Makefile	Thu Apr 29 15:53:48 1999
+++ out/drivers/macintosh/Makefile	Tue Jan 18 16:08:52 2000
@@ -15,7 +15,7 @@
 L_TARGET := macintosh.a
 M_OBJS   :=

-ifndef CONFIG_MBX
+ifndef CONFIG_8xx
 L_OBJS   := via-cuda.o macio-adb.o via-pmu.o mediabay.o
 LX_OBJS  := adb.o
 endif
=== cut here ===


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-07  6:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-06 19:12 Minor makefile fixes Pavel Roskin
2000-04-07  6:54 ` Cort Dougan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).