summaryrefslogtreecommitdiff
path: root/board/omap3/zoom2/Makefile
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-05-31 12:44:39 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:53 +0200
commit83ae698ff26b81b569ca32f7f2b008ad0da15e66 (patch)
treeedde3a0a8ece31e491b9ce5088a377f650e27b99 /board/omap3/zoom2/Makefile
parent660888b7fb8840ce169dcd2589e49ab44c46b87b (diff)
downloadu-boot-imx-83ae698ff26b81b569ca32f7f2b008ad0da15e66.zip
u-boot-imx-83ae698ff26b81b569ca32f7f2b008ad0da15e66.tar.gz
u-boot-imx-83ae698ff26b81b569ca32f7f2b008ad0da15e66.tar.bz2
ZOOM2 Add led support.
This patch controls the large LED on the top left of the zoom2. Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Diffstat (limited to 'board/omap3/zoom2/Makefile')
-rw-r--r--board/omap3/zoom2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/board/omap3/zoom2/Makefile b/board/omap3/zoom2/Makefile
index d27990c..2feafbe 100644
--- a/board/omap3/zoom2/Makefile
+++ b/board/omap3/zoom2/Makefile
@@ -25,10 +25,12 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := zoom2.o \
- debug_board.o \
- zoom2_serial.o
+COBJS-y := $(BOARD).o
+COBJS-y += debug_board.o
+COBJS-y += zoom2_serial.o
+COBJS-$(CONFIG_STATUS_LED) += led.o
+COBJS := $(sort $(COBJS-y))
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))