d/rules: handle IFCVF as callback driver 12/12912/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 5 Jun 2018 10:43:55 +0000 (12:43 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 5 Jun 2018 11:05:32 +0000 (13:05 +0200)
Change-Id: I24222cd2ba333842063dc0f590c31e38cd7be051
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/rules

index 60fa3e0..f05d35f 100755 (executable)
@@ -331,6 +331,11 @@ endif
            echo "MEMPOOL: linking $${LIBF} into RTE_EAL_PMD_PATH at $${LIBD}/$(DPDK_DRIVER_DIR)/"; \
            ln -s --relative --target-directory=$${LIBD}/$(DPDK_DRIVER_DIR)/ $${LIBD}/$${LIBF}; \
          fi; \
+         if [ "$${LIBF#librte_ifcvf_}x" != "$${LIBF}x" ]; then \
+           mkdir -p $${LIBD}/$(DPDK_DRIVER_DIR); \
+           echo "IFCVF: linking $${LIBF} into RTE_EAL_PMD_PATH at $${LIBD}/$(DPDK_DRIVER_DIR)/"; \
+           ln -s --relative --target-directory=$${LIBD}/$(DPDK_DRIVER_DIR)/ $${LIBD}/$${LIBF}; \
+         fi; \
          if [ "$${LIBF#librte_eal}x" != "$${LIBF}x" ]; then \
            mkdir -p $${LIBD}/$(DPDK_DRIVER_DIR); \
          fi; \