aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Stefani2019-01-12 12:13:06 -0600
committerLuca Stefani2019-01-12 12:13:06 -0600
commit5f1faeb9c23d0f0638c5fc2cf5922a2203e52748 (patch)
tree55cbcaeadedb1900e457dabc268db5ab44c6763b
parentc041a1bb47598b829dd24ad53456b6a2fe36c338 (diff)
downloadplatform-build-5f1faeb9c23d0f0638c5fc2cf5922a2203e52748.tar.gz
platform-build-5f1faeb9c23d0f0638c5fc2cf5922a2203e52748.tar.xz
platform-build-5f1faeb9c23d0f0638c5fc2cf5922a2203e52748.zip
Make get-file-size compatible with toybox stat
* Use the same format as mk_qemu_image.sh Change-Id: I5df23f488006440075a00798a171f7a8856e097a
-rw-r--r--core/combo/HOST_linux-x86.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/combo/HOST_linux-x86.mk b/core/combo/HOST_linux-x86.mk
index 4e83dc4c0..deed943a6 100644
--- a/core/combo/HOST_linux-x86.mk
+++ b/core/combo/HOST_linux-x86.mk
@@ -26,5 +26,5 @@ endef
26 26
27# $(1): The file to check 27# $(1): The file to check
28define get-file-size 28define get-file-size
29stat --format "%s" "$(1)" | tr -d '\n' 29stat -c "%s" "$(1)" | tr -d '\n'
30endef 30endef