1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-28 05:57:49 +03:00

build: better srcdir builddir support

With the move to top-level makefile - there are some issues
with subdir recursive makefile.
Make the building more tolerant for now until fully resolved.
This commit is contained in:
Zdenek Kabelac 2018-06-14 20:57:02 +02:00
parent 52ab3c1584
commit 5b515db71b
2 changed files with 3 additions and 2 deletions

View File

@ -193,7 +193,8 @@ endif
endif
include test/unit/Makefile
# FIXME: Drop once top-level make is resolved
-include test/unit/Makefile
include $(top_srcdir)/device_mapper/Makefile
include $(top_srcdir)/base/Makefile

View File

@ -357,7 +357,7 @@ LIB = $(addprefix lib/, $(LIB_SHARED) $(LIB_LOCAL) $(LIB_NOT) $(LIB_LINK_NOT) $(
touch $@
.lib-dir-stamp:
$(MKDIR_P) lib
$(MKDIR_P) lib unit
for i in $(CMDS); do $(LN_S) -f lvm-wrapper lib/$$i; done
for i in daemons/clvmd/clvmd daemons/dmeventd/dmeventd \
tools/dmsetup daemons/lvmetad/lvmetad \