Fix makefile for aarch64

Signed-off-by: Harry Chen <i@harrychen.xyz>
master
Harry Chen 6 years ago
parent 782da8761d
commit 801b2e609a

@ -61,6 +61,7 @@ endif
ifeq ($(arch), aarch64) ifeq ($(arch), aarch64)
board := raspi3 board := raspi3
need_bootloader := true
endif endif
# currently only mipsel architecture needs DTB linked to the kernel # currently only mipsel architecture needs DTB linked to the kernel
@ -275,9 +276,6 @@ sym:
### bootloader and kernel image ### ### bootloader and kernel image ###
$(bootloader): $(kernel) $(bootloader): $(kernel)
ifeq ($(arch), aarch64)
need_bootloader := true
endif
ifeq ($(need_bootloader), true) ifeq ($(need_bootloader), true)
@echo Building $(arch) bootloader @echo Building $(arch) bootloader
@$(strip) $(kernel) -o $(kernel)_stripped @$(strip) $(kernel) -o $(kernel)_stripped

Loading…
Cancel
Save