diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-07-12 06:26:26 (GMT) |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 06:26:26 (GMT) |
commit | 5cf77a5fd03c65b9dd33c283ce308a3abc4cb375 (patch) | |
tree | 3e303b1e828457ebbf228cfdf90c714be9b5ac9c /arch/blackfin/boot | |
parent | c04d66bbbdbbc7b5d55c42795f29e494190f8fb3 (diff) | |
download | linux-5cf77a5fd03c65b9dd33c283ce308a3abc4cb375.tar.xz |
Blackfin arch: extract the entry point from the linked kernel
extract the entry point from the linked kernel rather than
assuming entry point == load address
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/boot')
-rw-r--r-- | arch/blackfin/boot/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/boot/Makefile b/arch/blackfin/boot/Makefile index 49e8098..8cd3356 100644 --- a/arch/blackfin/boot/Makefile +++ b/arch/blackfin/boot/Makefile @@ -13,7 +13,8 @@ extra-y += vmlinux.bin vmlinux.gz quiet_cmd_uimage = UIMAGE $@ cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(ARCH) -O linux -T kernel \ - -C gzip -a $(CONFIG_BOOT_LOAD) -e $(CONFIG_BOOT_LOAD) -n 'Linux-$(KERNELRELEASE)' \ + -C gzip -n 'Linux-$(KERNELRELEASE)' -a $(CONFIG_BOOT_LOAD) \ + -e $(shell $(NM) vmlinux | awk '$$NF == "__start" {print $$1}') \ -d $< $@ $(obj)/vmlinux.bin: vmlinux FORCE |