mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
This commit is contained in:
1 parent
e7fe314870
commit
021cd1c4b4
24 files changed
+179
-66
No files matched your search
@@ -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
|
||||
|
||||