mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
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
15 lines
558 B
Text
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
|