From: Sergio Gonzalez Monroy Date: Tue, 9 Jun 2015 09:37:28 +0000 (+0100) Subject: mk: fix combined library build X-Git-Tag: spdx-start~9131 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d2c08067240baf27f2447bf4981b9ab58ce74d35;p=dpdk.git 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 --- 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