@ -385,7 +385,7 @@ define Build/pad-offset
e n d e f
e n d e f
d e f i n e B u i l d / c h e c k - s i z e
d e f i n e B u i l d / c h e c k - s i z e
@[ $$ ( ( $( subst k,* 1024,$( subst m, * 1024k,$( 1) ) ) ) ) -gt " $$ (stat -c%s $@ ) " ] || { \
@[ $$ ( ( $( subst k,* 1024,$( subst m, * 1024k,$( 1) ) ) ) ) -ge " $$ (stat -c%s $@ ) " ] || { \
echo " WARNING: Image file $@ is too big " >& 2; \
echo " WARNING: Image file $@ is too big " >& 2; \
rm -f $@ ; \
rm -f $@ ; \
}
}
@ -459,7 +459,7 @@ endef
e n d i f
e n d i f
d e f i n e D e v i c e / B u i l d / c h e c k _ s i z e
d e f i n e D e v i c e / B u i l d / c h e c k _ s i z e
@[ $$ ( ( $( subst k,* 1024,$( subst m, * 1024k,$( 1) ) ) ) ) -gt " $$ (stat -c%s $@ ) " ] || { \
@[ $$ ( ( $( subst k,* 1024,$( subst m, * 1024k,$( 1) ) ) ) ) -ge " $$ (stat -c%s $@ ) " ] || { \
echo " WARNING: Image file $@ is too big " >& 2; \
echo " WARNING: Image file $@ is too big " >& 2; \
rm -f $@ ; \
rm -f $@ ; \
}
}