summaryrefslogtreecommitdiff
path: root/Config.mk
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2021-12-06 17:02:01 +0000
committerAndrew Cooper <andrew.cooper3@citrix.com>2021-12-16 20:27:12 +0000
commit021cd1c4b4dfd23a5feb92fecc8db8a7228c80a5 (patch)
tree40b9c5014c8f27dfdeeed4d115a46572b83bf4ae /Config.mk
parente7fe314870442fb85f8ecfc0e0bc605dddcd75b1 (diff)
downloadxen-021cd1c4b4dfd23a5feb92fecc8db8a7228c80a5.tar.gz
tools: Use config.h from autoconf instead of "buildmakevars2header"
This avoid the need to generate the _paths.h header when the information is from autoconf anyway. They are no more users of the "buildmakevars2header" macro, so it can be removed from "Config.mk". Also removed the extra "-f" flag where "$(RM)" is used (xl/Makefile). Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk9
1 files changed, 0 insertions, 9 deletions
diff --git a/Config.mk b/Config.mk
index 6587c7d626..1c1998a5a8 100644
--- a/Config.mk
+++ b/Config.mk
@@ -167,15 +167,6 @@ define buildmakevars2file-closure
$(call move-if-changed,$(1).tmp,$(1))
endef
-buildmakevars2header = $(eval $(call buildmakevars2header-closure,$(1)))
-define buildmakevars2header-closure
- $(1): .phony
- rm -f $(1).tmp; \
- $(foreach var, $(BUILD_MAKE_VARS), \
- echo "#define $(var) \"$($(var))\"" >>$(1).tmp;) \
- $(call move-if-changed,$(1).tmp,$(1))
-endef
-
CFLAGS += -fno-strict-aliasing
CFLAGS += -std=gnu99