aboutsummaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorB, Ravi2016-07-28 17:39:15 +0530
committerMarek Vasut2016-09-27 23:30:18 +0200
commit05341a87646aceac90a63624fbd5fa620f8dc263 (patch)
tree18703766f5930a3d0526e4c75877c0add4cf3d22 /common/Makefile
parentbc5dbcb91813a429d168de58b37cb5b291d7be75 (diff)
common: dfu: saperate the dfu common functionality
The cmd_dfu functionality is been used by both SPL and u-boot, saperating the core dfu functionality moving it to common/dfu.c. Signed-off-by: Ravi Babu <ravibabu@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 6b4456edff6..ecc23e6fd32 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -89,6 +89,7 @@ obj-$(CONFIG_USB_KEYBOARD) += usb_kbd.o
endif # !CONFIG_SPL_BUILD
ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu.o
obj-$(CONFIG_SPL_DFU_SUPPORT) += cli_hush.o
obj-$(CONFIG_SPL_HASH_SUPPORT) += hash.o
obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
@@ -172,6 +173,7 @@ obj-$(CONFIG_CMDLINE) += cli_simple.o
obj-y += cli.o
obj-$(CONFIG_CMDLINE) += cli_readline.o
+obj-$(CONFIG_CMD_DFU) += dfu.o
obj-y += command.o
obj-y += s_record.o
obj-y += xyzModem.o