Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fc5153a authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Fix up KERNEL_ENTRY calculation for uImage.



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 003c6af6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -38,8 +38,9 @@ KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%8x" \
			$(CONFIG_ZERO_PAGE_OFFSET)]')

KERNEL_ENTRY	:= $(shell /bin/bash -c 'printf "0x%8x" \
		     $$[$(KERNEL_LOAD)+0x1000]')

		     $$[$(CONFIG_PAGE_OFFSET)  + \
			$(CONFIG_MEMORY_START) + \
			$(CONFIG_ZERO_PAGE_OFFSET)+0x1000]')

quiet_cmd_uimage = UIMAGE  $@
      cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \