summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJustin Ho <justinho@google.com>2011-09-01 13:34:20 -0700
committerJustin Ho <justinho@google.com>2011-09-01 13:46:54 -0700
commitbdab41a16f63630672bde02af28d2e567578fb21 (patch)
tree9463927ebc933d8cd686797f1fc78da13324a28c /core
parentb139b6a1a550daa0df4e670ab3fa550be8204d2f (diff)
downloadbuild-bdab41a16f63630672bde02af28d2e567578fb21.zip
build-bdab41a16f63630672bde02af28d2e567578fb21.tar.gz
build-bdab41a16f63630672bde02af28d2e567578fb21.tar.bz2
Add image size calcuations into the script
Change-Id: Ide13a873982bae21e2b8735a235389a660abd592
Diffstat (limited to 'core')
-rw-r--r--core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 8d6fab7..af233f1 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -595,6 +595,7 @@ INTERNAL_USERIMAGES_BINARY_PATHS := $(sort $(dir $(INTERNAL_USERIMAGES_DEPS)))
define calculate-userimage-ext-size
@echo Calculating image size...
@find $(1) -type f | xargs du -k | sort -gr > $(PRODUCT_OUT)/imagesize-report.txt
+ @du -s -h -k $(1)
endef
# $(1): src directory