diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-20 16:25:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-26 08:31:35 +0200 |
commit | 89c8ac578f309eb2d9aa86e9c507d2fa117d0308 (patch) | |
tree | 4d5242732ca20d4a914af7dd7e395f4d93620e4f /common/Makefile | |
parent | ed71dfbbc578173fb2fe8eb6d4bb293c9c320954 (diff) | |
download | barebox-89c8ac578f309eb2d9aa86e9c507d2fa117d0308.tar.gz barebox-89c8ac578f309eb2d9aa86e9c507d2fa117d0308.tar.xz |
boot: Move code to common/
Normally code in commands/ shall only do the option parsing whereas the
functionality shall be in common/ to make the code usable from C aswell.
Do this in the boot code aswell, move it to common/boot.c and add the
function prototypes to include/boot.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index 17fcb5f24a..00bc0e8834 100644 --- a/common/Makefile +++ b/common/Makefile @@ -58,6 +58,7 @@ obj-$(CONFIG_FIRMWARE) += firmware.o obj-$(CONFIG_UBIFORMAT) += ubiformat.o obj-$(CONFIG_BAREBOX_UPDATE_IMX_NAND_FCB) += imx-bbu-nand-fcb.o obj-$(CONFIG_CONSOLE_RATP) += ratp.o +obj-$(CONFIG_BOOT) += boot.o quiet_cmd_pwd_h = PWDH $@ ifdef CONFIG_PASSWORD |