This is no longer needed now that the kernel is built with a load
address that matches the one hard-coded in the bootloader.
Signed-off-by: Jan Hoffmann <[email protected]>
endef
-define Build/relocate-kernel
- $(MAKE) -j1 -C
[email protected] KERNEL_ADDR=$(KERNEL_LOADADDR) LZMA_TEXT_START=0x82000000 \
- CROSS_COMPILE=$(TARGET_CROSS)
- ( \
- perl -e '@s = stat("$@"); print pack("N", @s[7])' && \
- cat "$@" \
-endef
-
define Device/Default
PROFILES = Default
KERNEL := \
KERNEL := \
kernel-bin | \
append-dtb | \
- relocate-kernel | \
7z | \
h3c-image | \
h3c-vfs
KERNEL_INITRAMFS := \
kernel-bin | \
append-dtb | \
- relocate-kernel | \
7z | \
h3c-image
IMAGE/sysupgrade.bin := \