Skip to contentSkip to conversation

asm-m68k/setup.h in setup.h

DISCUSSION Andreas Tobler 2 participants 2 messages Dec 30, 1999 – Jan 3, 2000

lore
Share & tools
lore
#0 lore raw

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

Signature · 7 lines
| Andreas Tobler				
| CH-8004 Zuerich 							
| E-Mail:   [email protected]
-----------------------------------------------


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
#1 lore raw
Quoted 8 lines

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.

Quoted 4 lines

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/