[PATCH] educate users about x86 specific kludges instead of hiding thier ignorance

Ethan Benson erbenson at alaska.net
Thu May 15 17:42:14 EST 2003


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/
-------------- next part --------------
--- 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) $@


More information about the Linuxppc-dev mailing list