From 826a8b446f9f32b16f6a051e25b0cab04cc93046 Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Fri, 17 Apr 2015 20:06:15 +0900 Subject: [PATCH] configure.py: do not show Entering/Leaving directory on DPDK cflags detector When configure.py called inside Makefile, dpdk_cflags() mistakenly extract "Entering directory" message. This patch prevent the problem. Signed-off-by: Takuya ASADA --- configure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.py b/configure.py index d33b035aab..573ee12444 100755 --- a/configure.py +++ b/configure.py @@ -64,7 +64,8 @@ def dpdk_cflags (dpdk_target): sfile.file.write(bytes('@echo $(MACHINE_CFLAGS)' + "\n", 'utf-8')) sfile.file.flush() - dpdk_cflags = subprocess.check_output(['make', '-f', sfile.name, + dpdk_cflags = subprocess.check_output(['make', '--no-print-directory', + '-f', sfile.name, 'RTE_SDK=' + dpdk_sdk_path, 'RTE_TARGET=' + dpdk_target_name, 'RTE_ARCH=' + dpdk_arch])