summaryrefslogtreecommitdiffstats
path: root/arch/ia64/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/boot/Makefile')
-rw-r--r--arch/ia64/boot/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/ia64/boot/Makefile b/arch/ia64/boot/Makefile
index bdeef72ff..14eeeadd8 100644
--- a/arch/ia64/boot/Makefile
+++ b/arch/ia64/boot/Makefile
@@ -16,13 +16,11 @@ LINKFLAGS = -static -T bootloader.lds
$(CC) $(AFLAGS) -traditional -c -o $*.o $<
OBJECTS = bootloader.o
-TARGETS =
-ifdef CONFIG_IA64_HP_SIM
- TARGETS += bootloader
-endif
+targets-$(CONFIG_IA64_HP_SIM) += bootloader
+targets-$(CONFIG_IA64_GENERIC) += bootloader
-all: $(TARGETS)
+all: $(targets-y)
bootloader: $(OBJECTS)
$(LD) $(LINKFLAGS) $(OBJECTS) $(TOPDIR)/lib/lib.a $(TOPDIR)/arch/$(ARCH)/lib/lib.a \