aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-10-11 10:21:55 +0100
committerKeir Fraser <keir@xensource.com>2007-10-11 10:21:55 +0100
commit6190bfce75e8949838d0bc08efaa0f9cfad4b1ad (patch)
tree253b57461f150054bc3b0a2e8e9725710807fde9
parent3204cfd3a8ec006625866244d78356610c1d2af9 (diff)
downloadxen-6190bfce75e8949838d0bc08efaa0f9cfad4b1ad.tar.gz
xen-6190bfce75e8949838d0bc08efaa0f9cfad4b1ad.tar.bz2
xen-6190bfce75e8949838d0bc08efaa0f9cfad4b1ad.zip
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 <jbeulich@novell.com>
-rw-r--r--xen/Rules.mk3
-rw-r--r--xen/arch/powerpc/Makefile2
-rw-r--r--xen/drivers/video/Makefile3
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