From: Hirokazu Takata Here is a patch to update arch/m32r/Makefile for m32r. - Make zImage a default build target - Add zImage to targets marked with [*]. ----- $ make ARCH=m32r help Cleaning targets: clean - remove most generated files but keep the config mrproper - remove all generated files + config + various backup files Configuration targets: oldconfig - Update current config utilising a line-oriented program menuconfig - Update current config utilising a menu based program xconfig - Update current config utilising a QT based front-end gconfig - Update current config utilising a GTK based front-end defconfig - New config with default answer to all options allmodconfig - New config selecting modules when possible allyesconfig - New config where all options are accepted with yes allnoconfig - New minimal config Other generic targets: all - Build all targets marked with [*] * vmlinux - Build the bare kernel * modules - Build all modules modules_install - Install all modules dir/ - Build all files in dir and below dir/file.[ois] - Build specified target only rpm - Build a kernel as an RPM package tags/TAGS - Generate tags file for editors cscope - Generate cscope index Static analysers buildcheck - List dangling references to vmlinux discarded sections and init sections from non-init sections checkstack - Generate a list of stack hogs namespacecheck - Name space analysis on compiled kernel Kernel packaging: rpm-pkg - Build the kernel as an RPM package binrpm-pkg - Build an rpm package containing the compiled kernel & modules deb-pkg - Build the kernel as an deb package Documentation targets: Linux kernel internal documentation in different formats: sgmldocs (SGML), psdocs (Postscript), pdfdocs (PDF) htmldocs (HTML), mandocs (man pages, use installmandocs to install) Architecture specific targets (m32r): * zImage - Compressed kernel image (arch/m32r/boot/zImage) make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build make O=dir [targets] Locate all output files in "dir", including .config make C=1 [targets] Check all c source with $CHECK (sparse) make C=2 [targets] Force check of all c source with $CHECK (sparse) Execute "make" or "make all" to build all targets marked with [*] For further info see the ./README file Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton --- 25-akpm/arch/m32r/Makefile | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -puN arch/m32r/Makefile~m32r-make-zimage-a-default-build-target arch/m32r/Makefile --- 25/arch/m32r/Makefile~m32r-make-zimage-a-default-build-target 2004-11-17 00:27:06.122396856 -0800 +++ 25-akpm/arch/m32r/Makefile 2004-11-17 00:27:06.126396248 -0800 @@ -41,6 +41,8 @@ boot := arch/m32r/boot .PHONY: zImage +all: zImage + zImage: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ @@ -50,5 +52,5 @@ archclean: $(Q)$(MAKE) $(clean)=$(boot) define archhelp - @echo ' zImage - Compressed kernel image (arch/m32r/boot/zImage)' + echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' endef _