Julius Werner has posted comments on this change. ( https://review.coreboot.org/21601 )
Change subject: Makefile.inc: Add left shift macro ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/21601/1/Makefile.inc File Makefile.inc:
https://review.coreboot.org/#/c/21601/1/Makefile.inc@138 PS1, Line 138: int-shift-left=$(shell echo "$(call _toint,$(word 1, $1)) * (2 ^ $(call _toint,$(word 2, $1)))" | bc) Why not just use shell inline computation like the others, e.g.:
$(shell expr $(call _toint,$(word 1, $1)) << $(call _toint,$(word 2, $1)))
I don't think we have a dependency on bc yet, no reason to add one.