[dpdk-dev] [PATCH 0/3] app: fix build

2013-11-18 Thread Thomas Monjalon
When disabling librte_cmdline or app/test, build failed. These 3 patches fix it. --- Thomas Monjalon (3): app/cmdline_test: fix build without app/test app/testpmd: fix build without librte_cmdline app/test: fix build without librte_cmdline app/cmdline_test/Makefile |4 ++-- app/

[dpdk-dev] [PATCH 1/3] app/cmdline_test: fix build without app/test

2013-11-18 Thread Thomas Monjalon
This application is built if LIBRTE_CMDLINE is enabled. But there was no enabled source file if APP_TEST is disabled. Let's consider that CONFIG_RTE_APP_TEST apply only on app/test. Signed-off-by: Thomas Monjalon --- app/cmdline_test/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 delet

[dpdk-dev] [PATCH 2/3] app/testpmd: fix build without librte_cmdline

2013-11-18 Thread Thomas Monjalon
Some features are not available if LIBRTE_CMDLINE is disabled: - interactive mode - ethernet address parsing Note: ethernet address parsing could be rewritten without cmdline dependency. Signed-off-by: Thomas Monjalon --- app/test-pmd/Makefile |2 ++ app/test-pmd/parameters.c | 29 +++

[dpdk-dev] [PATCH 3/3] app/test: fix build without librte_cmdline

2013-11-18 Thread Thomas Monjalon
Some features are not available if LIBRTE_CMDLINE is disabled: - interactive commands - cmdline tests Remove also cmdline_parse includes which are not needed. Signed-off-by: Thomas Monjalon --- app/test/Makefile | 16 app/test/test.c |8 ++