From: Tetsuya Mukawa Date: Thu, 5 Mar 2015 07:31:01 +0000 (+0900) Subject: mk: fix config build on freebsd X-Git-Tag: spdx-start~9492 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=64702e5f6ff68bffbbb3e732c1c9f5887dd2b038;p=dpdk.git mk: fix config build on freebsd The '-fdirectives-only' flag doesn't exist in cpp of FreeBSD. To remove expanding macros when parsing the config files won't add any issue. Suggested-by: Olivier Matz Signed-off-by: Tetsuya Mukawa Acked-by: Bruce Richardson --- diff --git a/mk/rte.sdkconfig.mk b/mk/rte.sdkconfig.mk index d43c43089d..f8d95b1e39 100644 --- a/mk/rte.sdkconfig.mk +++ b/mk/rte.sdkconfig.mk @@ -75,7 +75,7 @@ else $(RTE_OUTPUT)/.config: $(RTE_CONFIG_TEMPLATE) FORCE | $(RTE_OUTPUT) $(Q)if [ "$(RTE_CONFIG_TEMPLATE)" != "" -a -f "$(RTE_CONFIG_TEMPLATE)" ]; then \ $(CPP) -undef -P -x assembler-with-cpp \ - -fdirectives-only -ffreestanding \ + -ffreestanding \ -o $(RTE_OUTPUT)/.config_tmp $(RTE_CONFIG_TEMPLATE) ; \ if ! cmp -s $(RTE_OUTPUT)/.config_tmp $(RTE_OUTPUT)/.config; then \ cp $(RTE_OUTPUT)/.config_tmp $(RTE_OUTPUT)/.config ; \