From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> If the $(obj)/lib/tracefs directory does not exist, create it before building the libraries. Otherwise the build will fail due to the directory not existing. Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5d11abc..02b3d25 100644 --- a/Makefile +++ b/Makefile @@ -277,9 +277,11 @@ $(bdir): LIBS = -L$(obj)/lib/traceevent -ltraceevent $(LIBTRACEFS_STATIC): force + $(Q)mkdir -p $(bdir) $(Q)$(MAKE) -C $(src)/src $@ $(bdir)/libtracefs.so.$(TRACEFS_VERSION): force + $(Q)mkdir -p $(bdir) $(Q)$(MAKE) -C $(src)/src $@ clean: -- 2.25.4