From f79edb9a11a74a2a1e7652badce5356f2ce38c1a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 26 Jan 2009 01:23:31 +0000 Subject: Darwin / Mac OS X Through DirectIO from coresystems GmbH we now support Darwin/Mac OS X. DirectIO is available at http://www.coresystems.de/en/directio Corresponding to flashrom svn r399 and coreboot v2 svn r3905. Signed-off-by: Stefan Reinauer Signed-off-by: Peter Stuge Acked-by: Peter Stuge --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a0c195b..86f91d4 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,10 @@ OS_ARCH = $(shell uname) ifneq ($(OS_ARCH), SunOS) STRIP_ARGS = -s endif +ifeq ($(OS_ARCH), Darwin) +CFLAGS += -I/usr/local/include +LDFLAGS += -framework IOKit -framework DirectIO -L/usr/local/lib +endif ifeq ($(OS_ARCH), FreeBSD) CFLAGS += -I/usr/local/include LDFLAGS += -L/usr/local/lib -- cgit v1.1