odroidc4: Guard cosnole U-boot with different flag
authorNolen Johnson <johnsonnolen@gmail.com>
Thu, 9 May 2024 17:00:18 +0000 (13:00 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Thu, 9 May 2024 17:03:17 +0000 (13:03 -0400)
Change-Id: Id560e20933ea4458a377eeb785822bb0e1c3bfdc

factory.mk

index 897c6995ff798fcf03c68a544a25149414d62ae8..4a50536944b9a7704ccc4da1e293b5c9eed8b612 100644 (file)
@@ -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/odroidc4/radio/bootloader-console.img, u-boot.bin)
 else ifneq ("$(wildcard vendor/amlogic/odroidc4/radio/bootloader.img)","")
        $(hide) $(call aml-copy-install-file, vendor/amlogic/odroidc4/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/odroidc4/radio/bootloader-console.img, u-boot.bin)
 else ifneq ("$(wildcard vendor/amlogic/odroidc4/radio/bootloader.img)","")
        $(hide) $(call aml-copy-upgrade-file, vendor/amlogic/odroidc4/radio/bootloader.img, u-boot.bin)