If no argument is given to relocate-kernel, KERNEL_LOADADDR will be used
just as before.
This is a preparation for ramips support of ipTIME AX2004M.
Signed-off-by: Sungbo Eo <[email protected]>
define Build/relocate-kernel
- $(MAKE) -C
[email protected] KERNEL_ADDR=$(
KERNEL_LOADADDR) CROSS_COMPILE=$(TARGET_CROSS)
+ $(MAKE) -C
[email protected] KERNEL_ADDR=$(
if $(1),$(1),$(KERNEL_LOADADDR)) CROSS_COMPILE=$(TARGET_CROSS)
( \
perl -e '@s = stat("$@"); print pack("V", @s[7])' && \