aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong2019-01-11 15:20:52 -0600
committerYifan Hong2019-01-11 15:21:11 -0600
commitd58e70bf21c2a63dcde7a36a2303d034e4e58ae3 (patch)
treecddc5cb559f1214e8dc9ae9ce60bc46e0044ab62
parent82f2cb078fd7cdbe144eb71d653d88d62bfdd37f (diff)
downloadplatform-build-d58e70bf21c2a63dcde7a36a2303d034e4e58ae3.tar.gz
platform-build-d58e70bf21c2a63dcde7a36a2303d034e4e58ae3.tar.xz
platform-build-d58e70bf21c2a63dcde7a36a2303d034e4e58ae3.zip
Fix size check for devices with multiple groups
The old code calls check-sum-of-partition-sizes within a foreach loop, causing syntax error: ... fi partition_size_list=... Add a semicolon after fi to fix this. Test: build with multiple groups, each group with a partition in it Change-Id: Ic4387408f3efc1744871619c300546765c678a61
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index f6a246bcb..f8cf88200 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -3122,7 +3122,7 @@ define check-sum-of-partition-sizes
3122 else \ 3122 else \
3123 echo "The sum of sizes of [$(strip $(3))] is within $(strip $(1)):"; \ 3123 echo "The sum of sizes of [$(strip $(3))] is within $(strip $(1)):"; \
3124 echo $${sum_sizes_expr} '==' $$(( $${sum_sizes_expr} )) '<=' "$(2)" '==' $$(( $(2) )); \ 3124 echo $${sum_sizes_expr} '==' $$(( $${sum_sizes_expr} )) '<=' "$(2)" '==' $$(( $(2) )); \
3125 fi 3125 fi;
3126endef 3126endef
3127 3127
3128define check-all-partition-sizes-target 3128define check-all-partition-sizes-target