From: Nolen Johnson Date: Thu, 9 May 2024 17:00:18 +0000 (-0400) Subject: odroidc4: Guard cosnole U-boot with different flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27953f9927f923aed76b5a5033fd08c77d2fe8ed;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_hardkernel_odroidc4.git odroidc4: Guard cosnole U-boot with different flag Change-Id: Id560e20933ea4458a377eeb785822bb0e1c3bfdc --- diff --git a/factory.mk b/factory.mk index 897c699..4a50536 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/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)