mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
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 <syuu@cloudius-systems.com>
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user