From 88f3630ae726127e536f92741c62453c38006ed7 Mon Sep 17 00:00:00 2001 From: miaogongzi <69211489+mgz0227@users.noreply.github.com> Date: Tue, 17 Dec 2024 21:25:40 +0800 Subject: [PATCH] Update imagebuilder.patch --- 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 4117174..56d8140 100644 --- a/devices/common/patches/imagebuilder.patch +++ b/devices/common/patches/imagebuilder.patch @@ -93,7 +93,7 @@ BUILD_PACKAGES:=$(USER_PACKAGES) $(BUILD_PACKAGES) +IMAGE_SIZE_VALUE := $(shell echo $($(USER_PROFILE)_IMAGE_SIZE) | sed 's/k$$//') +ifdef IMAGE_SIZE_VALUE -+ ifeq ($(shell test $(IMAGE_SIZE_VALUE) -lt 32448 && echo true),true) ++ ifeq ($(shell test $(IMAGE_SIZE_VALUE) -lt 35480 && echo true),true) + SMALL_FLASH := true + endif + ifeq ($(shell test $(IMAGE_SIZE_VALUE) -lt 20480 && echo true),true) @@ -177,4 +177,4 @@ + nice $(NO_TRACE_MAKE) -C target/linux/$(BOARD)/image install TARGET_BUILD=1 IB=1 EXTRA_IMAGE_NAME="$(EXTRA_IMAGE_NAME)" \ $(if $(USER_PROFILE),PROFILE="$(USER_PROFILE)"); \ fi - \ No newline at end of file +