From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de ([212.227.126.188]:57373 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756324AbYFXPdH (ORCPT ); Tue, 24 Jun 2008 11:33:07 -0400 From: Arnd Bergmann Subject: Re: Support arch/$ARCH/include in kbuild Date: Tue, 24 Jun 2008 17:32:57 +0200 References: <20080621220703.GA12279@uranus.ravnborg.org> <20080622220508.GA8957@uranus.ravnborg.org> In-Reply-To: <20080622220508.GA8957@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806241732.58449.arnd@arndb.de> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Sam Ravnborg Cc: LKML , linux-kbuild , Linus Torvalds On Monday 23 June 2008, Sam Ravnborg wrote: > Any comments are welcome! > Patches will follow as reply to this one, but they > are only sent to kbuild and lkml. I think you need to fix up all instances of #include , grep ^#[:ws:]*include.*[\"\<]asm-[^g].*/ `git-ls-files` Documentation/lguest/lguest.c:#include "asm-x86/bootparam.h" arch/ia64/ia32/audit.c:#include arch/ia64/kernel/asm-offsets.c:#include arch/ia64/kernel/asm-offsets.c:#include arch/ia64/kernel/asm-offsets.c:#include arch/ia64/kernel/asm-offsets.c:#include arch/ia64/kernel/asm-offsets.c:#include arch/ia64/kernel/jprobes.S:#include arch/mips/mips-boards/generic/amon.c:#include arch/mips/mips-boards/generic/amon.c:#include arch/mips/mips-boards/generic/amon.c:#include arch/powerpc/platforms/86xx/mpc86xx_smp.c:#include arch/sparc64/kernel/compat_audit.c:#include arch/um/sys-x86_64/syscall_table.c:#include arch/um/sys-x86_64/syscall_table.c:#include drivers/char/agp/parisc-agp.c:#include drivers/char/agp/parisc-agp.c:#include drivers/infiniband/hw/ehca/ehca_reqs.c:#include drivers/s390/net/qeth_core_main.c:#include drivers/s390/net/qeth_core_main.c:#include include/asm-arm/arch-omap/board.h:#include include/asm-blackfin/gpio.h:#include include/asm-m68knommu: lots of #include include/asm-parisc/ropes.h:#include include/asm-powerpc/irqflags.h:#include include/asm-sparc64: lots of #include most of these are obvious, the interesting ones being sparc64, m68knommu and arch/um as well as arch/ia64/ia32/audit.c. The best idea I have for sparc64 and m68knommu would be to use "gcc -Iarch/sparc64/include -Iarch/sparc/include" and then remove the respective files from sparc64. On m68knommu, this works as well, except for the pci.h and setup.h files that include the m68k one and then do some more. Arnd <><