diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2021-12-06 17:02:01 +0000 |
---|---|---|
committer | Andrew Cooper <andrew.cooper3@citrix.com> | 2021-12-16 20:27:12 +0000 |
commit | 021cd1c4b4dfd23a5feb92fecc8db8a7228c80a5 (patch) | |
tree | 40b9c5014c8f27dfdeeed4d115a46572b83bf4ae /Config.mk | |
parent | e7fe314870442fb85f8ecfc0e0bc605dddcd75b1 (diff) | |
download | xen-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.mk | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 |