From 6190bfce75e8949838d0bc08efaa0f9cfad4b1ad Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 11 Oct 2007 10:21:55 +0100 Subject: [PATCH] Add local header files to HDRS. Otherwise, changes to such headers do not trigger re-compiles. (Powerpc already had this.) Signed-off-by: Jan Beulich --- xen/Rules.mk | 3 ++- xen/arch/powerpc/Makefile | 2 -- xen/drivers/video/Makefile | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/xen/Rules.mk b/xen/Rules.mk index b4abd642c7..93260826bb 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -37,7 +37,8 @@ override TARGET_ARCH := $(shell echo $(XEN_TARGET_ARCH) | \ TARGET := $(BASEDIR)/xen -HDRS := $(wildcard $(BASEDIR)/include/xen/*.h) +HDRS := $(wildcard *.h) +HDRS += $(wildcard $(BASEDIR)/include/xen/*.h) HDRS += $(wildcard $(BASEDIR)/include/public/*.h) HDRS += $(wildcard $(BASEDIR)/include/compat/*.h) HDRS += $(wildcard $(BASEDIR)/include/asm-$(TARGET_ARCH)/*.h) diff --git a/xen/arch/powerpc/Makefile b/xen/arch/powerpc/Makefile index 751faff7df..2010b47723 100644 --- a/xen/arch/powerpc/Makefile +++ b/xen/arch/powerpc/Makefile @@ -88,8 +88,6 @@ irq.o: ../x86/irq.c physdev.o: ../x86/physdev.c numa.o: ../x86/numa.c -HDRS += $(wildcard *.h) - ifneq ($(CMDLINE),) # The first token in the arguments will be silently dropped. FULL_CMDLINE := xen $(CMDLINE) diff --git a/xen/drivers/video/Makefile b/xen/drivers/video/Makefile index 5123cfe990..b1f5bd7d0c 100644 --- a/xen/drivers/video/Makefile +++ b/xen/drivers/video/Makefile @@ -3,6 +3,3 @@ obj-$(CONFIG_X86_64) += font_8x14.o obj-$(CONFIG_X86_64) += font_8x16.o obj-$(CONFIG_X86_64) += font_8x8.o obj-$(CONFIG_X86_64) += vesa.o - -# extra dependencies -vesa.o: font.h -- 2.30.2