Revamp cbmem.py to use the coreboot tables.
[coreboot.git] / util / nvramtool / Makefile
index 520655dbb5bb7d503a24d96c7feaf7649467a92b..a75c70da5ce6fe54bedb66e9c5f475f0eeef99b4 100644 (file)
@@ -37,7 +37,10 @@ OBJS += $(CLI_OBJS)
 
 OS_ARCH        = $(shell uname)
 ifeq ($(OS_ARCH), Darwin)
-LDFLAGS = -framework DirectIO
+LDFLAGS = -framework DirectHW
+endif
+ifeq ($(OS_ARCH), NetBSD)
+LDFLAGS = -l$(shell uname -p)
 endif
 
 all: dep $(PROGRAM)