]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/Makefile
mtd: cfi_flash: Use ARRAY_SIZE at appropriate places
[u-boot] / arch / x86 / cpu / Makefile
index ddde83c91de61111e3f039db1512d6ce4255694b..cddf0dd2bcd82408d09bcc9885070f4b1a05ce48 100644 (file)
@@ -3,7 +3,7 @@
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 #
 # (C) Copyright 2002
-# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
+# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
 #
 # See file CREDITS for list of people who contributed to this
 # project.
@@ -28,12 +28,13 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(CPU).o
 
-START  = start.o start16.o resetvec.o
+START-y        = start.o
+START-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o
 COBJS  = interrupts.o cpu.o
 
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
-START  := $(addprefix $(obj),$(START))
+START  := $(addprefix $(obj),$(START-y))
 
 all:   $(obj).depend $(START) $(LIB)