Skip to contentSkip to conversation

also add local header files to HDRS

PATCH New Jan Beulich 1 participant 1 message Oct 11, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 also add local header files to HDRS

Otherwise, changes to such headers do not trigger re-compiles. (Powerpc already had this.)

xen/Rules.mk +2 -1
Index: 2007-10-10/xen/Rules.mk
===================================================================
@@ -37,7 +37,8 @@ override TARGET_ARCH     := $(shell echo
 
 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)
xen/arch/powerpc/Makefile +0 -2
Index: 2007-10-10/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)
xen/drivers/video/Makefile +0 -3
Index: 2007-10-10/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