Skip to content

Commit

Permalink
Makefile: add support for building on FreeBSD (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoanga authored Sep 22, 2024
1 parent ee7688f commit 1fbfe56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ ifeq ($(UNAME),Darwin)
## macOS uses a different unmounting utility
UNMOUNT = diskutil unmount
USB_DRIVES = $(shell diskutil list external | grep -s "/dev/" | awk '{print $$1}')
else ifeq ($(UNAME),FreeBSD)
UNMOUNT = umount
USB_DRIVES = $(shell usbconfig list | awk -F':' '{print $$1}')
else
## Handle building for aarch64 on x86_64 Linux/WSL
ifeq ($(ARCH),aarch64)
Expand Down

0 comments on commit 1fbfe56

Please sign in to comment.