diff options
| author | John Chau <[email protected]> | 2020-07-02 12:01:21 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-08-04 23:29:59 -0400 |
| commit | 4a4830cf915e76f07cff5ce346c3ccbc987c1557 (patch) | |
| tree | 42ebbb70628121c40e6cc4e757dd55d56cad003d /cmd/Makefile | |
| parent | 5b3ddb17baec13b4386620b533527d0f53ddeddf (diff) | |
cmd: add clone command
This patch adds a feature for block device cloning similar to dd
command, this should be useful for boot-strapping a device where
usb gadget or networking is not available. For instance one can
clone a factory image into a blank emmc from an external sd card.
Signed-off-by: John Chau <[email protected]>
Diffstat (limited to 'cmd/Makefile')
| -rw-r--r-- | cmd/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Makefile b/cmd/Makefile index 6e0086ba07f..70750375d12 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -98,6 +98,7 @@ obj-$(CONFIG_CMD_MMC) += mmc.o obj-$(CONFIG_MP) += mp.o obj-$(CONFIG_CMD_MTD) += mtd.o obj-$(CONFIG_CMD_MTDPARTS) += mtdparts.o +obj-$(CONFIG_CMD_CLONE) += clone.o ifneq ($(CONFIG_CMD_NAND)$(CONFIG_CMD_SF),) obj-y += legacy-mtd-utils.o endif |
