login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
30
Re: kbuild now support arch/$ARCH/include - time for ARCHs to convert
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Sam Ravnborg
Subject:
Re: kbuild now support arch/$ARCH/include - time for ARCHs to convert
Date: Wednesday, July 30, 2008 - 1:38 am
On Wed, Jul 30, 2008 at 04:49:08PM +1000, Greg Ungerer wrote:
quoted text
> Hi Sam, > > Sam Ravnborg wrote: > >The traditional location of the arch specific Makefiles > >has been at: > > > > include/asm-$ARCH > > > >But as suggested by several people over time and lately > >by Linus in the following post: > >http://kerneltrap.org/mailarchive/linux-kernel/2008/5/21/1903924 > > > >is is suggested to move the arch specific files under arch/ > >and for the header files this is arch/$ARCH/include. > > > >So I have hacked up support for this in kbuild so > >for the simpler cases a simple move of header files as > >in: > > git mv include/asm-$ARCH arch/$ARCH/include/asm > > > >is enough. > > > >If Linus will accept it then I think -rc1 is a perfect > >time to do it as people has less stuff pending touching > >the header files that are moved. > >Validation is easy - does the usual configs build? > > > >For the archs that plays games with symlinks this is a > >splendid opportunity to get rid af these. > >The receipe is simple: > >Use > > KBUILD_CFLAGS += -Iarch/$ARCH/include/$CPU > > > >to select the CPU and then do a copy of the header files > >like this: > > > > git mv include/asm-$ARCH/$CPU arch/$ARCH/include/$CPU/cpu > > > >Then the code can continue to use: > > > > #include <cpu/foo.h> > > > >I already converted sparc to use arch/sparc/include - > >while I merged the header files for sparc and sparc64. > >This change is already upstream. > > > >And for SH I posted a receipe which you can read here: > >http://lkml.org/lkml/2008/7/28/83 > > > >It is SH specific but anyway pretty generic. > > > >I am limited in time and resources at the moment but I > >would be glad to help out as time permits should there > >be any questions. > > I just tried moving the include/asm-m68knommu directory > to arch/m68knommu/include/asm and it all worked fine. > Clean compile first go :-) Nice. (As noted > asm-offsets.h was still generated in incldue/asm-m68knommu > afterwards though). > > So what is the status, should I prepare git/patch > for Linus?
Yes please do so. Then we can address m68k and fix the breakage that the sparc changes introduced. Sam --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
kbuild now support arch/$ARCH/include - time for ARCHs to ...
, Sam Ravnborg
, (Mon Jul 28, 1:05 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Kyle McMartin
, (Mon Jul 28, 8:06 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Mon Jul 28, 8:27 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Kyle McMartin
, (Tue Jul 29, 7:21 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Greg Ungerer
, (Tue Jul 29, 11:49 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Arnd Bergmann
, (Wed Jul 30, 12:07 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Wed Jul 30, 1:38 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Wed Jul 30, 1:52 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, David Howells
, (Wed Jul 30, 2:34 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Geert Uytterhoeven
, (Wed Jul 30, 5:26 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Paul Mundt
, (Wed Jul 30, 8:23 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Geert Uytterhoeven
, (Thu Jul 31, 12:17 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Greg Ungerer
, (Thu Jul 31, 4:26 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Ralf Baechle
, (Thu Jul 31, 11:23 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Arnd Bergmann
, (Thu Jul 31, 12:47 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Thu Jul 31, 1:13 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Thu Jul 31, 1:14 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Greg Ungerer
, (Thu Jul 31, 11:03 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Arnd Bergmann
, (Fri Aug 1, 12:35 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Martin Schwidefsky
, (Fri Aug 1, 1:35 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Fri Aug 1, 9:46 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Fri Aug 1, 9:49 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Geert Uytterhoeven
, (Sun Aug 3, 1:16 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Greg Ungerer
, (Sun Aug 3, 5:34 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Sun Aug 3, 10:10 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Arnd Bergmann
, (Mon Aug 4, 7:35 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Geert Uytterhoeven
, (Mon Aug 4, 9:00 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Mon Aug 4, 9:45 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Rusty Russell
, (Mon Aug 4, 9:18 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Geert Uytterhoeven
, (Tue Aug 5, 10:16 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Tue Aug 5, 1:45 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Russell King
, (Tue Aug 5, 3:06 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Russell King
, (Wed Aug 6, 12:21 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Wed Aug 6, 12:27 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Wed Aug 6, 12:28 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Russell King
, (Wed Aug 6, 12:51 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Fri Aug 8, 7:50 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Fri Aug 8, 7:52 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Paul Mundt
, (Fri Aug 8, 8:09 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Sat Aug 9, 12:03 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Russell King
, (Sat Aug 9, 12:20 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Sat Aug 9, 12:28 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs ...
, Sam Ravnborg
, (Sat Aug 9, 4:13 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rusty Russell
Re: 2.6.22-rc3-mm1
Gautham R Shenoy
[PATCH 1/8] Enhance process freezer interface for usage beyond software suspend
Jeffrey V. Merkey
Re: Versioning file system
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Srivatsa Vaddagiri
Re: [PATCH 7/8] Clean up workqueue.c with respect to the freezer based cpu-hotplug
git
:
Oliver Kullmann
Re: how to move with history?
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Shawn O. Pearce
Re: Bugs in Gitosis
Miles Bader
Re: way to automatically add untracked files?
Harvey Harrison
Re: [SoC RFC] libsvn-fs-git: A git backend for the subversion filesystem
linux-netdev
:
Timo Teräs
ip xfrm policy semantics
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
webmaster Maintenance
&#32852;&#31995;&#31995;&#32479;&#31649;&#29702;&#21592;
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
ipc/sem.c: move wake_up_process out of the spinlock section
Linux Kernel Mailing List
netfilter: nf_conntrack_sip: add T.38 FAX support
openbsd-misc
:
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Tony Abernethy
Re: The Atheros story in much fewer words
Damien Miller
Re: Patching a SSH 'Weakness'
Colocation donated by:
Syndicate