22 lines
538 B
Makefile
22 lines
538 B
Makefile
ifeq (,$(filter-out qcow2 qcow2c,$(IMAGE_TYPE)))
|
|
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
|
|
UBOOT_TTY := use/tty/AMA0
|
|
else
|
|
UBOOT_TTY := use/tty/S0
|
|
endif
|
|
endif
|
|
|
|
ifeq (,$(filter-out riscv64,$(ARCH)))
|
|
UBOOT_TTY := use/tty/S0
|
|
endif
|
|
|
|
use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
|
|
@$(call add_feature)
|
|
@$(call add,THE_LISTS,singleboard-tools)
|
|
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
|
|
@$(call add,BASE_BOOTARGS,cma=192M)
|
|
endif
|
|
ifeq (,$(filter-out riscv64,$(ARCH)))
|
|
@$(call add,BASE_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
|
|
endif
|