From: Chris Wright Subject: [PATCH] fix x86_64 make ARCH=xen clean Date: Thu, 11 Aug 2005 13:50:40 -0700 Message-ID: <20050811205040.GB7762@shell0.pdx.osdl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 A simple make ARCH=xen clean && make ARCH=xen vmlinuz will fail because arch/xen/x86_64/kernel/pci-nommu.c and arch/xen/x86_64/kernel/pci-dma.c symlinks get removed and relinked to base implementation. Make these non c-obj's to preserve sparse tree links. Signed-off-by: Chris Wright --- diff -r a64ac7fafbf0 linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile Thu Aug 11 10:34:32 2005 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile Fri Aug 12 09:29:48 2005 @@ -36,7 +36,7 @@ #obj-$(CONFIG_CPU_FREQ) += cpufreq/ #obj-$(CONFIG_EARLY_PRINTK) += early_printk.o #obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o -c-obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o +obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o #obj-$(CONFIG_SWIOTLB) += swiotlb.o obj-$(CONFIG_KPROBES) += kprobes.o obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o