svn commit: trunk/uClibc/libc/sysdeps/linux: alpha arm cris i386 mips powerpc sh spa etc...

Peter S. Mazinger ps.m at gmx.net
Sun Nov 6 23:49:18 UTC 2005


On Sat, 5 Nov 2005, Peter S. Mazinger wrote:

> On Sat, 5 Nov 2005, Mike Frysinger wrote:
> 
> > On Sat, Nov 05, 2005 at 01:35:55AM +0100, Peter S. Mazinger wrote:
> > > On Fri, 4 Nov 2005 vapier at uclibc.org wrote:
> > > > Added:
> > > >    trunk/uClibc/libc/sysdeps/linux/Makefile.arch
> > > 
> > > rename this to some other name or move it to common, else if TARGET_ARCH 
> > > is not defined we get this one included (see Makefile.in in the same dir)
> > 
> > that doesnt make any sense ... if TARGET_ARCH isnt defined then that means 
> > either (1) Rules.mak wasnt included (and so you're fucked anyways) or (2) the 
> > .config file hasnt been generated (and so you're fucked anyways)
> 
> That does make sense and that is the cause I changed the arch specific 
> included Makefiles from Makefile.in to Makefile.arch (got into a loop due 
> to same name,). The final changes I want to have is to include all the 
> lib*/Makefile.in from top_srcdir/Makefile.in and run everything at once
> (for current case consider only what happens w/ target distclean if no 
> .config file is present). If the libc/sysdeps/linux/Makefile.in has 
> to include 1 file if that is present (TARGET_ARCH/Makefile.arch), then it 
> should do that and only that and not pick up any other replacement.
> 
> apropos: the same rule applies to libc/stdlib/ directory that has subdirs 
> w/ Makefile.arch.

sorry: I have meant libc/string/

> 
> > making basic assumptions about the state of the topdir config is already 
> > ingrained in uClibc ... for example, try to build anything in a subdir without 
> > having run `make headers` in topdir
> 
> all targets have to play nice, not only build related ones ...
> 
> Peter
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list