ports/sysutils/fusefs-lkl/files/patch-Makefile
Conrad Meyer 6896f25274 sysutils/fusefs-lkl: update to 4.16
Upstream removed git tags, so the version is based on Linux Makefile and
date of the git revision.

The upstream Makefile no longer accepts specific targets, so the non-FUSE
targets are patched away to prevent them from being built (which fails).
(They are not used by this port.)

Submitted by:	Charlie Li <ml AT vishwin.info>
Reviewed by:	mat
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D16044
2018-07-03 16:39:35 +00:00

15 lines
558 B
Text

--- Makefile.orig 2018-06-12 22:43:19 UTC
+++ Makefile
@@ -61,10 +61,10 @@ endif
# rule to build lkl.o
$(OUTPUT)lib/lkl.o: bin/stat
- $(Q)$(MAKE) -C ../.. ARCH=lkl $(KOPT) $(KCONFIG)
+ $(Q)$(MAKE) -C ../.. ARCH=lkl LDFLAGS= $(KOPT) $(KCONFIG)
# this workaround is for arm32 linker (ld.gold)
$(Q)export PATH=$(srctree)/tools/lkl/bin/:${PATH} ;\
- $(MAKE) -C ../.. ARCH=lkl $(KOPT) install INSTALL_PATH=$(OUTPUT)
+ $(MAKE) -C ../.. ARCH=lkl LDFLAGS= $(KOPT) install INSTALL_PATH=$(OUTPUT)
# rules to link libs
$(OUTPUT)%$(SOSUF): LDFLAGS += -shared