[OpenBIOS] PPC: add a native configuration

Aurelien Jarno aurelien at aurel32.net
Wed Dec 31 22:37:07 CET 2008


On Wed, Dec 31, 2008 at 11:05:10PM +0200, Blue Swirl wrote:
> On 12/31/08, Aurelien Jarno <aurelien at aurel32.net> wrote:
> > On Wed, Dec 31, 2008 at 08:00:18PM +0200, Blue Swirl wrote:
> >  > On 12/31/08, Aurelien Jarno <aurelien at aurel32.net> wrote:
> >  > > On Wed, Dec 31, 2008 at 05:24:13PM +0200, Blue Swirl wrote:
> >  > >  > On 12/31/08, Aurelien Jarno <aurelien at aurel32.net> wrote:
> >  > >  > > This patch adds a native configuration for PPC. It is based on the cross
> >  > >  > >  configuration files
> >  > >  > >
> >  > >  > >  Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
> >  > >  >
> >  > >  > >    <!-- Build hosted UNIX Binary -->
> >  > >  > >  -  <option name="CONFIG_HOST_UNIX" type="boolean" value="true"/>
> >  > >  > >  +  <option name="CONFIG_HOST_UNIX" type="boolean" value="false"/>
> >  > >  >
> >  > >  > When compiling natively, we can build a Unix host version too. Is it
> >  > >  > OK if I commit the patch including your sign-off with this change
> >  > >  > removed?
> >  > >  >
> >  > >
> >  > >
> >  > > Yes, I have seen that, but the Unix host version is currently not
> >  > >  building. I think we can enable it when it is fixed.
> >  >
> >  > Oh, what's the problem?
> >
> >
> > obj-ppc/libbootstrap.a(primitives.o): In function `iocfetch':
> >  primitives.c:(.text+0x1416): undefined reference to `isa_io_base'
> >  primitives.c:(.text+0x141e): undefined reference to `isa_io_base'
> >  obj-ppc/libbootstrap.a(primitives.o): In function `iowfetch':
> >  primitives.c:(.text+0x1456): undefined reference to `isa_io_base'
> >  primitives.c:(.text+0x145e): undefined reference to `isa_io_base'
> >  obj-ppc/libbootstrap.a(primitives.o): In function `iolfetch':
> >  primitives.c:(.text+0x148a): undefined reference to `isa_io_base'
> >  obj-ppc/libbootstrap.a(primitives.o):primitives.c:(.text+0x1492): more undefined references to `isa_io_base' follow
> >  collect2: ld returned 1 exit status
> >  make[1]: *** [obj-ppc/openbios-unix] Erreur 1
> 
> The in/out functions reference isa_io_base, defined in include/ppc/io.h.
> 
> Would this patch fix the build?

Yes, it fixes it. Thanks.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32 at debian.org         | aurelien at aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



More information about the OpenBIOS mailing list