From: Nolen Johnson Date: Wed, 8 May 2024 23:06:25 +0000 (-0400) Subject: radxa0: Allow using a u-boot with console X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=56d4982065946afb534bd5569069d17365e2da0e;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_radxa_radxa0.git radxa0: Allow using a u-boot with console Change-Id: Iad732a6812eeb12e248df324ef81028148910b23 --- diff --git a/factory.mk b/factory.mk index 1c91df3..1f52d77 100644 --- a/factory.mk +++ b/factory.mk @@ -56,6 +56,8 @@ $(INSTALLED_AML_INSTALL_PACKAGE_TARGET): $(addprefix $(PRODUCT_OUT)/,$(INSTALL_I $(hide) mkdir -p $(PRODUCT_INSTALL_OUT) ifneq ("$(wildcard $(FACTORY_PATH)/u-boot.bin)","") $(hide) $(call aml-copy-install-file, $(FACTORY_PATH)/u-boot.bin) +else ifeq ($(WITH_CONSOLE),true) + $(hide) $(call aml-copy-install-file, vendor/amlogic/radxa0/radio/bootloader-console.img, u-boot.bin) else ifneq ("$(wildcard vendor/amlogic/radxa0/radio/bootloader.img)","") $(hide) $(call aml-copy-install-file, vendor/amlogic/radxa0/radio/bootloader.img, u-boot.bin) else