Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6066
-gerrit
commit 3aeec80eef9aca74d76d991764d719c8a967dd7f
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Wed Jun 18 00:43:35 2014 +0300
util/cbmem: Workaround for IS_ENABLED()
We do not include build/config.h so each occurence of CONFIG_xxx
in included header files would be undefined.
Change-Id: I74f1627fc3f294410db8ce486ab553dac9e967f4
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
util/cbmem/cbmem.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index 9ad1214..fabede3 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -36,6 +36,7 @@
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
#define MAP_BYTES (1024*1024)
+#define IS_ENABLED(x) (defined (x) && (x))
#include "boot/coreboot_tables.h"