[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/boot/common/src/uboot/drivers/led/Makefile b/boot/common/src/uboot/drivers/led/Makefile
new file mode 100755
index 0000000..b3addf9
--- /dev/null
+++ b/boot/common/src/uboot/drivers/led/Makefile
@@ -0,0 +1,33 @@
+#
+# ZTE (C) Copyright 2014
+# Author: YinWenguan
+#
+#
+
+include $(TOPDIR)/config.mk
+
+LIB := $(obj)libled.o
+
+ifdef CONFIG_ZX297520V3E_CPE_SWITCH
+COBJS-y += led_cpe_switch.o
+else
+COBJS-y += led.o
+endif
+
+COBJS := $(sort $(COBJS-y))
+SRCS := $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+
+all: $(LIB)
+
+$(LIB): $(obj).depend $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################