Skip to content

Commit

Permalink
Blackfin arch: extract the entry point from the linked kernel
Browse files Browse the repository at this point in the history
extract the entry point from the linked kernel rather than
assuming entry point == load address

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Jul 12, 2007
1 parent c04d66b commit 5cf77a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/blackfin/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cf77a5

Please sign in to comment.