mlx5: fix header generation in parallel builds
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 29 Jan 2016 10:31:36 +0000 (11:31 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:52:17 +0000 (18:52 +0100)
Fixes: 771fa900b73a ("mlx5: introduce new driver for Mellanox ConnectX-4 adapters")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/Makefile

index 736d205..028f4f9 100644 (file)
@@ -120,7 +120,7 @@ mlx5_autoconf.h: $(RTE_SDK)/scripts/auto-config-h.sh
                enum IBV_EXP_QP_BURST_CREATE_ENABLE_MULTI_PACKET_SEND_WR \
                $(AUTOCONF_OUTPUT)
 
-mlx5.o: mlx5_autoconf.h
+$(SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD):.c=.o): mlx5_autoconf.h
 
 clean_mlx5: FORCE
        $Q rm -f -- mlx5_autoconf.h