summaryrefslogtreecommitdiff
path: root/util/dell-flash-unlock/Makefile
diff options
context:
space:
mode:
authorlinear cannon <dev@linear.network>2024-03-16 01:33:10 -0400
committerlinear cannon <dev@linear.network>2024-03-16 01:33:10 -0400
commite119ffa54d32bba49ab16db565680a0e386cdeb6 (patch)
treeacf5222a487f904c115ce29e7954c2e3256241c6 /util/dell-flash-unlock/Makefile
parentc578fe56c36f94af5c51a1be27a1a1c4b57a4289 (diff)
dell-flash-unlock: add NetBSD support
Diffstat (limited to 'util/dell-flash-unlock/Makefile')
-rw-r--r--util/dell-flash-unlock/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/dell-flash-unlock/Makefile b/util/dell-flash-unlock/Makefile
index fae52dea..aee07167 100644
--- a/util/dell-flash-unlock/Makefile
+++ b/util/dell-flash-unlock/Makefile
@@ -6,6 +6,9 @@ CFLAGS=-Wall -Wextra -Werror -O2 -pedantic
ifeq ($(shell uname), OpenBSD)
CFLAGS += -l$(shell uname -p)
endif
+ifeq ($(shell uname), NetBSD)
+ CFLAGS += -l$(shell uname -p)
+endif
SRCS=dell_flash_unlock.c accessors.c
all: $(SRCS) accessors.h