projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0766c4a
)
Get rid of bc in top Makefile
author
Piotr Dymacz
<pepe2k@gmail.com>
Wed, 14 Sep 2016 20:13:42 +0000
(22:13 +0200)
committer
Piotr Dymacz
<pepe2k@gmail.com>
Wed, 14 Sep 2016 20:13:42 +0000
(22:13 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 74e468924b328d05f79044f985e5b3245228459d..a2812a7b7046a3a2711c8b7845f248b91da5f162 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-125,7
+125,7
@@
endef
define size_chk
$(call echo_green,Checking size of the image...)
- if [ `wc -c < $(1)` -gt
`echo $(2)*1024 | bc`
]; then \
+ if [ `wc -c < $(1)` -gt
$$(($(2) * 1024))
]; then \
echo; \
$(call echo_red, ======================); \
$(call echo_red, IMAGE SIZE IS TOO BIG!); \