Re: [Tinyx-devel] [PATCH] LIBC: Change libc include.
Status: Planning
Brought to you by:
davidcohen
|
From: Anderson B. <and...@br...> - 2008-01-11 03:39:11
|
On 1/10/08, David Cohen <da...@gm...> wrote: > > This is the other way for libc include's path. > > Any comments? Briglia? Balbi? IMHO, this way is the default, right? I still didn't see differents include's paths due to different archs on linux kernel. BR, Anderson Briglia Br, > > David Cohen > > On Jan 10, 2008 11:02 PM, David Cohen <da...@gm...> wrote: > > Adding include/libc to standard include's path > > Fixing new libc include path on device.c > > > > Signed-off-by: David Cohen <da...@gm...> > > --- > > Makefile | 2 +- > > kernel/device.c | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/Makefile b/Makefile > > index 0ca9772..3b0a471 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -20,7 +20,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy > > OBJDUMP = $(CROSS_COMPILE)objdump > > AWK = awk > > CFLAGS = -Wall -Os -mcpu=arm7tdmi > > -INCLUDES = -Iinclude > > +INCLUDES = -Iinclude -Iinclude/libc > > > > PYTHON = python > > > > diff --git a/kernel/device.c b/kernel/device.c > > index 44374ab..8cd35ba 100644 > > --- a/kernel/device.c > > +++ b/kernel/device.c > > @@ -21,7 +21,7 @@ > > > > #include <tinyx/device.h> > > #include <tinyx/list.h> > > -#include <tinyx/libc/string.h> > > +#include <string.h> > > > > DECLARE_LIST_HEAD(bus_list); > > DECLARE_LIST_HEAD(driver_list); > > -- > > 1.5.3.7 > > > > > > > > -- > David Cohen > Instituto Nokia de Tecnologia - INdT > Manaus - Brazil > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Tinyx-devel mailing list > Tin...@li... > https://lists.sourceforge.net/lists/listinfo/tinyx-devel > |