* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / arch / sh / boot / Makefile
blobe2ae36bde368a0ff9b13ebf3000cfe1031628d56
2 # arch/mips/boot/Makefile
4 # This file is subject to the terms and conditions of the GNU General Public
5 # License. See the file "COPYING" in the main directory of this archive
6 # for more details.
9 .S.s:
10 $(CPP) $(CFLAGS) $< -o $*.s
11 .S.o:
12 $(CC) $(CFLAGS) -c $< -o $*.o
14 OBJS =
17 # Drop some uninteresting sections in the kernel.
19 drop-sections = .reginfo .mdebug
20 strip-flags = $(addprefix --remove-section=,$(drop-sections))
23 # Fake compressed boot
25 zImage: $(CONFIGURE) mkboot $(TOPDIR)/vmlinux
26 $(OBJCOPY) $(strip-flags) $(TOPDIR)/vmlinux zImage.tmp
27 ./mkboot zImage.tmp zImage
28 rm -f zImage.tmp
30 mkboot: mkboot.c
31 $(HOSTCC) -o $@ $^
33 # Don't build dependencies, this may die if $(CC) isn't gcc
34 dep:
36 clean:
37 rm -f zImage zImage.tmp mkboot
39 dummy:
41 include $(TOPDIR)/Rules.make