From de4874486a08cd32ce9e38ad95e2bebb8bdc2fe0 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 18 Dec 2024 18:07:55 +0800 Subject: [PATCH] update --- devices/common/patches/imagebuilder.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/common/patches/imagebuilder.patch b/devices/common/patches/imagebuilder.patch index a46105b00ec0..83bc8b62eb6f 100644 --- a/devices/common/patches/imagebuilder.patch +++ b/devices/common/patches/imagebuilder.patch @@ -93,10 +93,10 @@ BUILD_PACKAGES:=$(USER_PACKAGES) $(BUILD_PACKAGES) +IMAGE_SIZE_VALUE := $($(USER_PROFILE)_IMAGE_SIZE) +ifdef IMAGE_SIZE_VALUE -+ ifeq ($(shell test $(IMAGE_SIZE_VALUE) -lt 35840 && echo true),true) ++ ifeq ($(shell test $(IMAGE_SIZE_VALUE) -le 35840 && echo true),true) + SMALL_FLASH := true + endif -+ ifeq ($(shell test $(IMAGE_SIZE_VALUE) -lt 20480 && echo true),true) ++ ifeq ($(shell test $(IMAGE_SIZE_VALUE) -le 20480 && echo true),true) + XSMALL_FLASH := true + endif +endif