From d2c08067240baf27f2447bf4981b9ab58ce74d35 Mon Sep 17 00:00:00 2001 From: Sergio Gonzalez Monroy Date: Tue, 9 Jun 2015 10:37:28 +0100 Subject: [PATCH] mk: fix combined library build The combined lib was being created after building the lib root dir. With the new directory hierarchy, it should be created after the drivers root dir instead. Fixes: 980ed498eb1dd0 ("drivers: create new directory") Signed-off-by: Sergio Gonzalez Monroy Acked-by: Pablo de Lara Tested-by: Li Wei --- mk/rte.sdkbuild.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk index 3154457266..09bb60a51b 100644 --- a/mk/rte.sdkbuild.mk +++ b/mk/rte.sdkbuild.mk @@ -93,7 +93,7 @@ $(ROOTDIRS-y): @[ -d $(BUILDDIR)/$@ ] || mkdir -p $(BUILDDIR)/$@ @echo "== Build $@" $(Q)$(MAKE) S=$@ -f $(RTE_SRCDIR)/$@/Makefile -C $(BUILDDIR)/$@ all - @if [ $@ = lib -a $(RTE_BUILD_COMBINE_LIBS) = y ]; then \ + @if [ $@ = drivers -a $(RTE_BUILD_COMBINE_LIBS) = y ]; then \ $(MAKE) -f $(RTE_SDK)/lib/Makefile sharelib; \ fi