[PATCH 1/3] rtems: Handle multi-level multilib directories

Martin Erik Werner martinerikwerner.aac at gmail.com
Sat Sep 30 16:31:28 UTC 2017


Sometimes, multilib directories have multiple levels, for example
no-delay/soft-float, make sure to handle this by creating directories
before installing.

Signed-off-by: Martin Erik Werner <martin.werner at aacmicrotec.com>
---
 rtems/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rtems/Makefile b/rtems/Makefile
index 52a82df..4852d60 100644
--- a/rtems/Makefile
+++ b/rtems/Makefile
@@ -43,6 +43,7 @@ $(BUILDDIR)/%.o: $(SRCDIR)/%.cc
 	$(CXX) $(CPPFLAGS) $(CFLAGS) $(DEPFLAGS) $(WARNFLAGS) -c $< -o $@
 
 install: all
+	mkdir -p $(PREFIX)/$(TARGET)/lib/$(MULTILIBDIR)
 	install -m 644 -t $(PREFIX)/$(TARGET)/lib/$(MULTILIBDIR) $(LIB)
 
 RTEMS_HEADERS =
-- 
2.11.0




More information about the devel mailing list