Skip to contentSkip to conversation

arch-specific "make" target

DISCUSSION Jeff Garzik 3 participants 3 messages May 26, 2004 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

I just wanted to confirm that all architectures generate a bootable kernel image -- not just vmlinux -- then the developer types "make" with no arguments.

This is the 2.6 kernel standard, but I just got word that some arches don't follow this rule yet...

Jeff

#1 lore raw
Quoted 6 lines · Jeff Garzik

I just wanted to confirm that all architectures generate a bootable kernel image -- not just vmlinux -- then the developer types "make" with no arguments.

This is the 2.6 kernel standard, but I just got word that some arches don't follow this rule yet...

MIPS does so for those system that can't boot the vanilla vmlinux file. Most current systems support direct loading of ELF binaries though.

Ralf

#2 lore raw
Quoted 10 lines · Ralf Baechle
Quoted 6 lines · Jeff Garzik

I just wanted to confirm that all architectures generate a bootable kernel image -- not just vmlinux -- then the developer types "make" with no arguments.

This is the 2.6 kernel standard, but I just got word that some arches don't follow this rule yet...

MIPS does so for those system that can't boot the vanilla vmlinux file. Most current systems support direct loading of ELF binaries though.

Same for m68k: all systems have a bootstrap that can boot (gzipped) ELF images (vmlinux and vmlinux.gz). Some are even rumoured to boot bzipped ELF images (vmlinuz.bz2).

make all -> vmlinux, vmlinux.gz
make zImage -> vmlinux.gz
make bzImage -> vmlinux.bz2

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds