From: "Jan Beulich" Subject: [PATCH] also add local header files to HDRS Date: Thu, 11 Oct 2007 09:46:59 +0100 Message-ID: <470DFF23.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Otherwise, changes to such headers do not trigger re-compiles. (Powerpc already had this.) Signed-off-by: Jan Beulich Index: 2007-10-10/xen/Rules.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 :=3D $(shell echo =20 TARGET :=3D $(BASEDIR)/xen =20 -HDRS :=3D $(wildcard $(BASEDIR)/include/xen/*.h) +HDRS :=3D $(wildcard *.h) +HDRS +=3D $(wildcard $(BASEDIR)/include/xen/*.h) HDRS +=3D $(wildcard $(BASEDIR)/include/public/*.h) HDRS +=3D $(wildcard $(BASEDIR)/include/compat/*.h) HDRS +=3D $(wildcard $(BASEDIR)/include/asm-$(TARGET_ARCH)/*.h) Index: 2007-10-10/xen/arch/powerpc/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2007-10-10.orig/xen/arch/powerpc/Makefile 2007-08-06 15:08:40.0000000= 00 +0200 +++ 2007-10-10/xen/arch/powerpc/Makefile 2007-10-10 17:42:01.0000000= 00 +0200 @@ -88,8 +88,6 @@ irq.o: ../x86/irq.c physdev.o: ../x86/physdev.c numa.o: ../x86/numa.c =20 -HDRS +=3D $(wildcard *.h) - ifneq ($(CMDLINE),) # The first token in the arguments will be silently dropped. FULL_CMDLINE :=3D xen $(CMDLINE) Index: 2007-10-10/xen/drivers/video/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2007-10-10.orig/xen/drivers/video/Makefile 2007-08-17 08:28:42.0000000= 00 +0200 +++ 2007-10-10/xen/drivers/video/Makefile 2007-10-10 17:42:31.0000000= 00 +0200 @@ -3,6 +3,3 @@ obj-$(CONFIG_X86_64) +=3D font_8x14.o obj-$(CONFIG_X86_64) +=3D font_8x16.o obj-$(CONFIG_X86_64) +=3D font_8x8.o obj-$(CONFIG_X86_64) +=3D vesa.o - -# extra dependencies -vesa.o: font.h