summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/boot
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2009-06-17 08:12:54 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-22 21:16:03 -0400
commit985895bd8d1e41079b41da32cdc57876a4a74126 (patch)
tree954618a726a59f8022f47213ca13e33fab87b893 /arch/blackfin/boot
parent841a534367c2cfdc325a11958c51406da17686c7 (diff)
downloadlinux-985895bd8d1e41079b41da32cdc57876a4a74126.tar.bz2
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. Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/boot')
-rw-r--r--arch/blackfin/boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/boot/Makefile b/arch/blackfin/boot/Makefile
index 3ab6f23561dd..fd9ccc5fea10 100644
--- a/arch/blackfin/boot/Makefile
+++ b/arch/blackfin/boot/Makefile
@@ -13,7 +13,7 @@ extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma
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 $< $@