From: Roger Pau Monne Date: Wed, 27 Jun 2018 14:33:00 +0000 (+0200) Subject: x86/cpuid: fix generation of auto cpuid header X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3733 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3d137ad3b0cf5b2283b257fd33678dc083428271;p=xen.git x86/cpuid: fix generation of auto cpuid header The makefile rule to generate the cpuid-autogen.h header passes the whole list of dependencies to gen-cpuid.py but only the first dependency is actually needed. So far this seems to be harmless. Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper Acked-by: Wei Liu --- diff --git a/xen/include/Makefile b/xen/include/Makefile index 8762ab3334..7c5034e6e0 100644 --- a/xen/include/Makefile +++ b/xen/include/Makefile @@ -143,7 +143,7 @@ endif ifeq ($(XEN_TARGET_ARCH),x86_64) $(BASEDIR)/include/asm-x86/cpuid-autogen.h: $(BASEDIR)/include/public/arch-x86/cpufeatureset.h $(BASEDIR)/tools/gen-cpuid.py FORCE - $(PYTHON) $(BASEDIR)/tools/gen-cpuid.py -i $^ -o $@.new + $(PYTHON) $(BASEDIR)/tools/gen-cpuid.py -i $< -o $@.new $(call move-if-changed,$@.new,$@) all: $(BASEDIR)/include/asm-x86/cpuid-autogen.h