Commit 985895bd8d1e41079b41da32cdc57876a4a74126

Authored by Robin Getz
Committed by Mike Frysinger
1 parent 841a534367

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/blackfin/boot/Makefile
... ... @@ -13,7 +13,7 @@
13 13  
14 14 quiet_cmd_uimage = UIMAGE $@
15 15 cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(ARCH) -O linux -T kernel \
16   - -C $(2) -n 'Linux-$(KERNELRELEASE)' -a $(CONFIG_BOOT_LOAD) \
  16 + -C $(2) -n '$(MACHINE)-$(KERNELRELEASE)' -a $(CONFIG_BOOT_LOAD) \
17 17 -e $(shell $(NM) vmlinux | awk '$$NF == "__start" {print $$1}') \
18 18 -d $< $@
19 19