diff options
author | Martin Roth <gaumless@gmail.com> | 2015-07-03 12:54:14 -0600 |
---|---|---|
committer | Martin Roth <gaumless@gmail.com> | 2015-07-11 22:11:29 +0200 |
commit | 47abc54ec3eea1a660cfbe3bb935ef6d3ace9de0 (patch) | |
tree | ead8ca7672039495e666c3a8842d23789dd4a0fe /src/lib/hardwaremain.c | |
parent | 8cce701b56d8c6f780a3d77639dc3328acfacfbe (diff) |
Makefile.inc: Add math macros
Add macros to standardize math done in the Makefiles in a posix
compliant manner.
int-multiply takes an arbitrary list of values to multiply, the same as
the int-addition macro.
The other macros only work on two values at a time.
Change-Id: I3b754b9bcde26f33edc4f945d5af3d5444f383c7
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: http://review.coreboot.org/10874
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/lib/hardwaremain.c')
0 files changed, 0 insertions, 0 deletions