1 # $Id: Makefile,v 1.9 1999/04/07 18:45:23 harald Exp $
3 # This file is subject to the terms and conditions of the GNU General Public
4 # License. See the file "COPYING" in the main directory of this archive
7 # Copyright (C) 1995, 1998 by Ralf Baechle
11 $(CPP
) $(CFLAGS
) $< -o
$*.s
13 $(CC
) $(CFLAGS
) -c
$< -o
$*.o
18 # Some DECstations need all possible sections of an ECOFF executable
20 ifdef CONFIG_DECSTATION
27 # Drop some uninteresting sections in the kernel.
28 # This is only relevant for ELF kernels but doesn't hurt a.out
30 drop-sections
= .reginfo .mdebug
31 strip-flags
= $(addprefix --remove-section
=,$(drop-sections
))
33 all: vmlinux.ecoff addinitrd
35 vmlinux.ecoff
: $(CONFIGURE
) elf2ecoff
$(TOPDIR
)/vmlinux
36 .
/elf2ecoff
$(TOPDIR
)/vmlinux vmlinux.ecoff
$(E2EFLAGS
)
38 elf2ecoff
: elf2ecoff.c
41 addinitrd
: addinitrd.c
44 # Don't build dependencies, this may die if $(CC) isn't gcc
52 include $(TOPDIR
)/Rules.make