summaryrefslogtreecommitdiff
path: root/target/ag241/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/ag241/Makefile')
-rw-r--r--target/ag241/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/ag241/Makefile b/target/ag241/Makefile
index e1c5b47a5..730b06bfa 100644
--- a/target/ag241/Makefile
+++ b/target/ag241/Makefile
@@ -31,10 +31,10 @@ kernel-install: tools-compile
ifeq ($(FS),squashfs)
imageinstall: $(BIN_DIR)/$(ROOTFSSQUASHFS)
- @if [ $$(stat --format=%s ${BUILD_DIR}/${ROOTFSSQUASHFS}) -gt 4063233 ];then \
+ @if [ $$(stat --format=%s ${BUILD_DIR}/${ROOTFSSQUASHFS}) -gt 3801088 ];then \
echo 'Image is too big!'; \
else \
- ${CP} ${BUILD_DIR}/${ROOTFSSQUASHFS} $(BIN_DIR)/$(ROOTFSSQUASHFS); \
+ ${CP} ${BUILD_DIR}/${ROOTFSSQUASHFS} ${BIN_DIR}/${ROOTFSSQUASHFS}; \
echo The image file is $(ROOTFSSQUASHFS); \
echo 'You can flash the image via tftp:'; \
echo 'tftp 192.168.1.1'; \