Title: [6764] trunk/arch/blackfin/boot/Makefile: Blackfin: stick the CPU name into boot image name
- Revision
- 6764
- Author
- vapier
- Date
- 2009-06-17 07:18:01 -0500 (Wed, 17 Jun 2009)
Log Message
Blackfin: stick the CPU name into boot image name
Rather than use "Linux" in the boot image name (as this is redundant --
the image type is already set to "linux"), use the CPU name. This makes
it fairly obvious when a wrong image is accidentally booted. Otherwise
there is no kernel output and you waste time scratching your head
wondering wtf just happened.
Modified Paths
Diff
Modified: trunk/arch/blackfin/boot/Makefile (6763 => 6764)
--- trunk/arch/blackfin/boot/Makefile 2009-06-17 10:16:47 UTC (rev 6763)
+++ trunk/arch/blackfin/boot/Makefile 2009-06-17 12:18:01 UTC (rev 6764)
@@ -13,7 +13,7 @@
quiet_cmd_uimage = UIMAGE $@
cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(ARCH) -O linux -T kernel \
- -C $(2) -n 'Linux-$(KERNELRELEASE)' -a $(CONFIG_BOOT_LOAD) \
+ -C $(2) -n '$(MACHINE)-$(KERNELRELEASE)' -a $(CONFIG_BOOT_LOAD) \
-e $(shell $(NM) vmlinux | awk '$$NF == "__start" {print $$1}') \
-d $< $@
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits