projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add NetBSD support to nvramtool.
[coreboot.git]
/
util
/
nvramtool
/
Makefile
diff --git
a/util/nvramtool/Makefile
b/util/nvramtool/Makefile
index 520655dbb5bb7d503a24d96c7feaf7649467a92b..e0054cde34e1be07ac2337c9904e57f710a5349b 100644
(file)
--- a/
util/nvramtool/Makefile
+++ b/
util/nvramtool/Makefile
@@
-39,6
+39,9
@@
OS_ARCH = $(shell uname)
ifeq ($(OS_ARCH), Darwin)
LDFLAGS = -framework DirectIO
endif
+ifeq ($(OS_ARCH), NetBSD)
+LDFLAGS = -l$(shell uname -p)
+endif
all: dep $(PROGRAM)