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 +