[dpdk-dev] [PATCHv7 17/47] common/dpaa2: add debug log support
Hemant Agrawal
hemant.agrawal at nxp.com
Thu Feb 16 01:39:16 CET 2017
Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
drivers/common/dpaa2/qbman/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/common/dpaa2/qbman/Makefile b/drivers/common/dpaa2/qbman/Makefile
index 18bca6b..771bdc6 100644
--- a/drivers/common/dpaa2/qbman/Makefile
+++ b/drivers/common/dpaa2/qbman/Makefile
@@ -44,8 +44,13 @@ ifeq ($(CONFIG_RTE_LIBRTE_FSLMC_BUS),y)
CONFIG_RTE_LIBRTE_DPAA2_COMMON = $(CONFIG_RTE_LIBRTE_FSLMC_BUS)
endif
+ifeq ($(CONFIG_RTE_LIBRTE_DPAA2_DEBUG_INIT),y)
+CFLAGS += -O0 -g
+CFLAGS += "-Wno-error"
+else
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+endif
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaa2/qbman/include
--
1.9.1
More information about the dev
mailing list