linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] educate users about x86 specific kludges instead of hiding thier ignorance
@ 2003-05-15  7:42 Ethan Benson
  2003-05-15 19:01 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Ethan Benson @ 2003-05-15  7:42 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]


Hi,

the phony bzImage target in the ppc Makefiles is not helping anything,
rather it just changes the confusion from `why doesn't make bzImage
work?' to `where is my bzImage?'

lets not hide users ignorance lets teach them instead.  the attached
patch replaces the phony bzImage target with a error explaining that
bzImage is x86 only and to use zImage instead.

please apply.

--
Ethan Benson
http://www.alaska.net/~erbenson/

[-- Attachment #2: Makefile.diff --]
[-- Type: text/plain, Size: 415 bytes --]

--- linux/arch/ppc/Makefile.orig	Wed May 14 23:33:00 2003
+++ linux/arch/ppc/Makefile	Wed May 14 23:35:24 2003
@@ -98,7 +98,8 @@
 BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd

 # All the instructions talk about "make bzImage".
-bzImage: zImage
+bzImage:
+	$(error bzImage is an x86 specific hack to work around broken design.  Try make zImage)

 $(BOOT_TARGETS): $(CHECKS) vmlinux
 	@$(MAKEBOOT) $@

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

end of thread, other threads:[~2003-05-16  3:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-15  7:42 [PATCH] educate users about x86 specific kludges instead of hiding thier ignorance Ethan Benson
2003-05-15 19:01 ` Tom Rini
2003-05-15 19:11   ` Tony 'Nicoya' Mantler
2003-05-15 20:22     ` linas
2003-05-16  3:10       ` Trevor Woerner

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).