login
Login
/
Register
Search
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
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Sam Ravnborg <sam@...>
To: Greg Ungerer <gerg@...>
Cc: linux arch <linux-arch@...>, LKML <linux-kernel@...>
Subject:
Re: kbuild now support arch/$ARCH/include - time for ARCHs to convert
Date: Wednesday, July 30, 2008 - 4: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 co...
, Sam Ravnborg
, (Mon Jul 28, 4:05 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Sat Aug 9, 3:28 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Rusty Russell
, (Tue Aug 5, 12:18 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Tue Aug 5, 4:45 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Russell King
, (Tue Aug 5, 6:06 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Wed Aug 6, 3:27 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Russell King
, (Wed Aug 6, 3:21 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Wed Aug 6, 3:28 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Russell King
, (Wed Aug 6, 3:51 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Geert Uytterhoeven
, (Tue Aug 5, 1:16 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Martin Schwidefsky
, (Fri Aug 1, 4:35 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Fri Aug 1, 12:49 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Ralf Baechle
, (Thu Jul 31, 2:23 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Fri Aug 8, 10:52 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Paul Mundt
, (Fri Aug 8, 11:09 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Sat Aug 9, 3:03 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Russell King
, (Sat Aug 9, 3:20 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Sat Aug 9, 7:13 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Thu Jul 31, 4:14 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Greg Ungerer
, (Wed Jul 30, 2:49 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Wed Jul 30, 4:38 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Greg Ungerer
, (Fri Aug 1, 2:03 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Geert Uytterhoeven
, (Sun Aug 3, 4:16 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Arnd Bergmann
, (Mon Aug 4, 10:35 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Geert Uytterhoeven
, (Mon Aug 4, 12:00 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Mon Aug 4, 12:45 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Greg Ungerer
, (Sun Aug 3, 8:34 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Mon Aug 4, 1:10 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Arnd Bergmann
, (Wed Jul 30, 3:07 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, David Howells
, (Wed Jul 30, 5:34 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Geert Uytterhoeven
, (Wed Jul 30, 8:26 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Paul Mundt
, (Wed Jul 30, 11:23 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Arnd Bergmann
, (Thu Jul 31, 3:47 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Thu Jul 31, 4:13 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Arnd Bergmann
, (Fri Aug 1, 3:35 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Fri Aug 1, 12:46 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Geert Uytterhoeven
, (Thu Jul 31, 3:17 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Greg Ungerer
, (Thu Jul 31, 7:26 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Wed Jul 30, 4:52 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Kyle McMartin
, (Mon Jul 28, 11:06 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Mon Jul 28, 11:27 pm)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Kyle McMartin
, (Tue Jul 29, 10:21 am)
Re: kbuild now support arch/$ARCH/include - time for ARCHs t...
, Sam Ravnborg
, (Fri Aug 8, 10:50 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Eric W. Biederman
[PATCH 0/10] sysfs network namespace support
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
7 users
and
879 guests
online.
Online users
colorecalcance
zeekec
winterizingbln
carloleedcerti
micralitebabyp
improveyoureye
alaskacruisexc
Syndicate