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
8 # Copyright (C) 1998 by David Mosberger-Tang <davidm@hpl.hp.com>
11 LINKFLAGS = -static -T bootloader.lds
14 $(CPP) $(AFLAGS) -traditional -o $*.o $<
16 $(CC) $(AFLAGS) -traditional -c -o $*.o $<
18 OBJECTS = bootloader.o
20 targets-$(CONFIG_IA64_HP_SIM) += bootloader
21 targets-$(CONFIG_IA64_GENERIC) += bootloader
25 bootloader: $(OBJECTS)
26 $(LD) $(LINKFLAGS) $(OBJECTS) $(TOPDIR)/lib/lib.a $(TOPDIR)/arch/$(ARCH)/lib/lib.a \
30 rm -f $(targets-y) $(OBJECTS)