mk: fix combined library build
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Tue, 9 Jun 2015 09:37:28 +0000 (10:37 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 10 Jun 2015 10:21:37 +0000 (12:21 +0200)
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 <sergio.gonzalez.monroy@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Tested-by: Li Wei <lw@cn.fujitsu.com>
mk/rte.sdkbuild.mk

index 3154457..09bb60a 100644 (file)
@@ -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