From: Nolen Johnson Date: Thu, 9 May 2024 17:00:18 +0000 (-0400) Subject: radxa0: Guard cosnole U-boot with different flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1aeecbad637cd04292a50eff6ffe706aee9845c;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_radxa_radxa0.git radxa0: Guard cosnole U-boot with different flag Change-Id: Id560e20933ea4458a377eeb785822bb0e1c3bfdc --- diff --git a/factory.mk b/factory.mk index dbd59a7..cac2c2d 100644 --- a/factory.mk +++ b/factory.mk @@ -56,7 +56,7 @@ $(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) +else ifeq ($(WITH_CONSOLE_BL),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) @@ -85,7 +85,7 @@ $(INSTALLED_AML_UPGRADE_PACKAGE_TARGET): $(addprefix $(PRODUCT_OUT)/,$(UPGRADE_I $(hide) mkdir -p $(PRODUCT_UPGRADE_OUT) ifneq ("$(wildcard $(FACTORY_PATH)/u-boot.bin)","") $(hide) $(call aml-copy-upgrade-file, $(FACTORY_PATH)/u-boot.bin) -else ifeq ($(WITH_CONSOLE),true) +else ifeq ($(WITH_CONSOLE_BL),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-upgrade-file, vendor/amlogic/radxa0/radio/bootloader.img, u-boot.bin)