igb_uio: make compilation optional
Currently, igb_uio is always compiled. Some Linux distributions may not want to include igb_uio with DPDK, so we need to make sure that igb_uio compilation for Linuxapp targets can be optional. Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Tested-by: HuilongX Xu <huilongx.xu@intel.com> Tested-by: Waterman Cao <waterman.cao@intel.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
71d74422e2
commit
f058c9ba63
@ -123,6 +123,7 @@ CONFIG_RTE_LOG_HISTORY=256
|
||||
CONFIG_RTE_LIBEAL_USE_HPET=n
|
||||
CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
|
||||
CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n
|
||||
CONFIG_RTE_EAL_IGB_UIO=y
|
||||
|
||||
#
|
||||
# Compile Environment Abstraction Layer for linux
|
||||
|
@ -31,7 +31,9 @@
|
||||
|
||||
include $(RTE_SDK)/mk/rte.vars.mk
|
||||
|
||||
ifeq ($(CONFIG_RTE_EAL_IGB_UIO),y)
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += igb_uio
|
||||
endif
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += eal
|
||||
ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += kni
|
||||
|
Loading…
Reference in New Issue
Block a user