summaryrefslogtreecommitdiff
path: root/util/nvramtool/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-05-01 12:10:45 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-05-08 00:40:01 +0200
commit44a89b34f85492c48a19db1b9b2c2c44ab29c9ae (patch)
treeb422730c952355b658bcb4ec7af815700b1b904d /util/nvramtool/Makefile
parentf8f00629e3b5e129a5962fed1b886034f45e844a (diff)
downloadcoreboot-44a89b34f85492c48a19db1b9b2c2c44ab29c9ae.tar.xz
Fix build with CMOS support on various platforms
When bringing in nvramtool as build_opt_tbl replacement, various platforms where left in the cold that don't provide direct IO support from userland (or at least not in a way we support). Build nvramtool without CMOS support when done as part of a coreboot build. We don't need to touch CMOS in this case. Change-Id: Icc88d1d32f10384867a5d44b065f9aa119bb0d50 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/983 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'util/nvramtool/Makefile')
-rw-r--r--util/nvramtool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index 063bb1acd6..6723a487bf 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -24,7 +24,7 @@ CC = gcc
STRIP = strip
INSTALL = /usr/bin/install
PREFIX = /usr/local
-CFLAGS = -O2 -g -Wall -W -I.
+CFLAGS = -O2 -g -Wall -W -I. -DCMOS_HAL=1
#CFLAGS = -Os -Wall
CLI_OBJS = cli/nvramtool.o cli/opts.o