diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-01-26 01:23:31 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-26 01:23:31 +0000 |
commit | 713ee92c96c0c92cdd1fe64a58cc1f9abd94d11c (patch) | |
tree | ba465bab12911ecb94ab3ea56b466273081543f8 /util/flashrom/Makefile | |
parent | d48091a35c18745527d1e164f82bc774e4bd6b58 (diff) |
flashrom: 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
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3905 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/Makefile')
-rw-r--r-- | util/flashrom/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/flashrom/Makefile b/util/flashrom/Makefile index a0c195bc29..86f91d4a34 100644 --- a/util/flashrom/Makefile +++ b/util/flashrom/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 |