mkimage-profiles/features.in/uboot/config.mk

24 lines
554 B
Makefile
Raw Normal View History

2019-06-13 16:15:41 +03:00
ifeq (,$(filter-out qcow2 qcow2c,$(IMAGE_TYPE)))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
UBOOT_TTY := use/tty/AMA0
else
2020-07-01 20:26:35 +03:00
UBOOT_TTY := use/tty/S0
2019-06-13 16:15:41 +03:00
endif
endif
2020-06-29 21:20:50 +03:00
ifeq (,$(filter-out riscv64,$(ARCH)))
UBOOT_TTY := use/tty/S0
endif
2020-08-21 16:45:50 +03:00
ifneq (,$(filter-out i586 x86_64,$(ARCH)))
2019-06-13 16:15:41 +03:00
use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
2019-05-30 12:27:25 +03:00
@$(call add_feature)
@$(call add,THE_LISTS,singleboard-tools)
2020-06-29 21:20:50 +03:00
ifeq (,$(filter-out riscv64,$(ARCH)))
@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
2020-06-29 21:20:50 +03:00
endif
@$(call xport,UBOOT_BOOTARGS)
2020-08-21 16:45:50 +03:00
else
use/uboot: ; @:
endif