summaryrefslogtreecommitdiff
path: root/target/mipsel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/mipsel/Makefile')
-rw-r--r--target/mipsel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/mipsel/Makefile b/target/mipsel/Makefile
index 0caacc1db..f04709bb0 100644
--- a/target/mipsel/Makefile
+++ b/target/mipsel/Makefile
@@ -60,7 +60,7 @@ imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSUSERTARBALL)
endif
ifeq ($(ADK_TARGET_FS),squashfs)
imageinstall: kernel-install ${BUILD_DIR}/${ROOTFSSQUASHFS}
- @if [ $$(stat -f %z ${BUILD_DIR}/${ROOTFSSQUASHFS}) -gt 3801088 ];then \
+ @if [ $$($(STATCMD) ${BUILD_DIR}/${ROOTFSSQUASHFS}) -gt 3801088 ];then \
echo 'Image is too big!'; \
else \
${CP} ${BUILD_DIR}/${ROOTFSSQUASHFS} ${BIN_DIR}/${ROOTFSSQUASHFS}; \