summaryrefslogtreecommitdiff
path: root/board/ti/beagle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/beagle/Makefile')
-rw-r--r--board/ti/beagle/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ti/beagle/Makefile b/board/ti/beagle/Makefile
index 3b4aaac..d9f445f 100644
--- a/board/ti/beagle/Makefile
+++ b/board/ti/beagle/Makefile
@@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-COBJS := beagle.o
+COBJS-y := $(BOARD).o
+COBJS-$(CONFIG_STATUS_LED) += led.o
+COBJS := $(sort $(COBJS-y))
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))