[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] also 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@xxxxxxxxxx>

Index: 2007-10-10/xen/Rules.mk
===================================================================
--- 2007-10-10.orig/xen/Rules.mk        2007-09-10 09:59:35.000000000 +0200
+++ 2007-10-10/xen/Rules.mk     2007-10-10 17:39:19.000000000 +0200
@@ -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)
Index: 2007-10-10/xen/arch/powerpc/Makefile
===================================================================
--- 2007-10-10.orig/xen/arch/powerpc/Makefile   2007-08-06 15:08:40.000000000 
+0200
+++ 2007-10-10/xen/arch/powerpc/Makefile        2007-10-10 17:42:01.000000000 
+0200
@@ -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)
Index: 2007-10-10/xen/drivers/video/Makefile
===================================================================
--- 2007-10-10.orig/xen/drivers/video/Makefile  2007-08-17 08:28:42.000000000 
+0200
+++ 2007-10-10/xen/drivers/video/Makefile       2007-10-10 17:42:31.000000000 
+0200
@@ -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




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.