linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* asm-m68k/setup.h in setup.h
@ 1999-12-30 13:41 Andreas Tobler
  2000-01-03 11:27 ` Michael Schmitz
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Tobler @ 1999-12-30 13:41 UTC (permalink / raw)
  To: Linux-Dev


Hi,
I'm playing with buildkernel from http://www.pobox.com/~wstearns/buildkernel/
That is a 'program' which should make it easy to build a kernel. I have
to find out......

Now this script removes all other archs from the kernel tree. Especially
the asm-m68k in the include directory.
When building the kernel it fails because asm-m68k/setup.h is not available.
I saw that asm-ppc/setup.h includes this file. 
In asm-ppc/setup.h m68k_num_memory and m68k_memory are defined. These
two are declared extern in asm-m68k. 
Are there other things needed from asm-m68k/setup.h?

I could build a kernel with the buildkernel script. I had to copy the
asm-m68k into the include directory.

Does it make lot of work to isolate the ppc tree? Or is there no need/
no wish to do that?
BTW, this is done on a 2214pre17 kernel. So if there are further changes
in 2.3???

Thanks
Andreas
-- 
| Andreas Tobler				
| CH-8004 Zuerich 							
| E-Mail:   a.tobler@schweiz.ch
-----------------------------------------------


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: asm-m68k/setup.h in setup.h
  1999-12-30 13:41 asm-m68k/setup.h in setup.h Andreas Tobler
@ 2000-01-03 11:27 ` Michael Schmitz
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Schmitz @ 2000-01-03 11:27 UTC (permalink / raw)
  To: Andreas Tobler; +Cc: Linux-Dev


> I'm playing with buildkernel from http://www.pobox.com/~wstearns/buildkernel/
> That is a 'program' which should make it easy to build a kernel. I have
> to find out......
> 
> Now this script removes all other archs from the kernel tree. Especially
> the asm-m68k in the include directory.
> When building the kernel it fails because asm-m68k/setup.h is not available.

That's what you get for using 'smart' tools. Complain to the buildkernel
author, please. 

> I saw that asm-ppc/setup.h includes this file. 
> In asm-ppc/setup.h m68k_num_memory and m68k_memory are defined. These
> two are declared extern in asm-m68k. 
> Are there other things needed from asm-m68k/setup.h?

There will be a lot of other things needed even from arch/m68k if you want
to build kernels for the APUS PPC upgrades for Amigas. The m68k_num_memory
and m68k_memory variables should only be included in the PPC build if
support for APUS is configured though. The APUS people have a separate 

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-01-03 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-30 13:41 asm-m68k/setup.h in setup.h Andreas Tobler
2000-01-03 11:27 ` Michael Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).