Add ifdtool, utility to read / modify Intel Firmware Descriptor images
[coreboot.git] / util / inteltool / Makefile
index 3850682e5f2e7832493a2e15d0ee3510d25047de..db7fca0b23a07c6d2aec531bd21d77b08e5060a5 100644 (file)
@@ -31,7 +31,12 @@ OBJS = inteltool.o cpu.o gpio.o rootcmplx.o powermgt.o memory.o pcie.o
 
 OS_ARCH        = $(shell uname)
 ifeq ($(OS_ARCH), Darwin)
-LDFLAGS = -framework DirectIO -lpci -lz
+LDFLAGS = -framework DirectHW -lpci -lz
+endif
+ifeq ($(OS_ARCH), FreeBSD)
+CFLAGS += -I/usr/local/include
+LDFLAGS += -L/usr/local/lib
+LIBS = -lz
 endif
 
 all: pciutils dep $(PROGRAM)