Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 committed Dec 18, 2024
1 parent 64e5c39 commit de48744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devices/common/patches/imagebuilder.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de48744

Please sign in to comment.