From feeee96cbb1c2b97aa5da0252ec0745d67f600b3 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:53:37 +0800 Subject: [PATCH] update --- devices/common/patches/imagebuilder.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/common/patches/imagebuilder.patch b/devices/common/patches/imagebuilder.patch index f29ea4077c25..7785d5a1f710 100644 --- a/devices/common/patches/imagebuilder.patch +++ b/devices/common/patches/imagebuilder.patch @@ -91,7 +91,7 @@ # "-pkgname" in the package list means remove "pkgname" from the package list BUILD_PACKAGES:=$(filter-out $(filter -%,$(BUILD_PACKAGES)) $(patsubst -%,%,$(filter -%,$(BUILD_PACKAGES))),$(BUILD_PACKAGES)) BUILD_PACKAGES:=$(USER_PACKAGES) $(BUILD_PACKAGES) -+IMAGE_SIZE_VALUE := $(USER_PROFILE)_IMAGE_SIZE ++IMAGE_SIZE_VALUE := $($(USER_PROFILE)_IMAGE_SIZE) +ifdef IMAGE_SIZE_VALUE + ifeq ($(shell test $(IMAGE_SIZE_VALUE) -lt 35840 && echo true),true) + SMALL_FLASH := true