Skip to content

Commit 1fbfe56

Browse files
authored
Makefile: add support for building on FreeBSD (#1103)
1 parent ee7688f commit 1fbfe56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ ifeq ($(UNAME),Darwin)
7777
## macOS uses a different unmounting utility
7878
UNMOUNT = diskutil unmount
7979
USB_DRIVES = $(shell diskutil list external | grep -s "/dev/" | awk '{print $$1}')
80+
else ifeq ($(UNAME),FreeBSD)
81+
UNMOUNT = umount
82+
USB_DRIVES = $(shell usbconfig list | awk -F':' '{print $$1}')
8083
else
8184
## Handle building for aarch64 on x86_64 Linux/WSL
8285
ifeq ($(ARCH),aarch64)

0 commit comments

Comments
 (0)