Enable uarts for pic32-retrobsd board.

Fix build issues with fuse library path on Mac OS X.
This commit is contained in:
Serge Vakulenko
2015-12-30 19:20:37 -08:00
parent fb05f20fbe
commit b7a3d6f665
3 changed files with 26 additions and 14 deletions

View File

@@ -6,11 +6,13 @@ OBJS = fsutil.o superblock.o block.c inode.o create.o check.o \
PROG = fsutil
# For Mac OS X
#LIBS = -largp
ifneq ($(wildcard /usr/local/lib/pkgconfig),)
FUSE_PATH = /usr/local/lib/pkgconfig
endif
# Fuse
MOUNT_CFLAGS = $(shell pkg-config fuse --cflags)
LIBS += $(shell pkg-config fuse --libs)
MOUNT_CFLAGS = $(shell PKG_CONFIG_PATH=$(FUSE_PATH) pkg-config fuse --cflags)
LIBS += $(shell PKG_CONFIG_PATH=$(FUSE_PATH) pkg-config fuse --libs)
all: $(PROG)