diff options
author | Luca Stefani | 2019-01-12 12:13:06 -0600 |
---|---|---|
committer | Luca Stefani | 2019-01-12 12:13:06 -0600 |
commit | 5f1faeb9c23d0f0638c5fc2cf5922a2203e52748 (patch) | |
tree | 55cbcaeadedb1900e457dabc268db5ab44c6763b | |
parent | c041a1bb47598b829dd24ad53456b6a2fe36c338 (diff) | |
download | platform-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.mk | 2 |
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 |
28 | define get-file-size | 28 | define get-file-size |
29 | stat --format "%s" "$(1)" | tr -d '\n' | 29 | stat -c "%s" "$(1)" | tr -d '\n' |
30 | endef | 30 | endef |