Commit e8aafdb9 authored by Adam Wujek's avatar Adam Wujek

sw/Makefile: add fetch target

Target to be used to download all needed repositories
Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent f6f548b9
......@@ -90,6 +90,15 @@ clean: uboot_clean fsbl_clean pmufw_clean linux_clean atf_clean dtb_clean dtc_cl
distclean: uboot_distclean bootfw_distclean fsbl_distclean pmufw_distclean linux_distclean atf_distclean dtb_distclean dtc_distclean gateware_distclean rootfs_distclean bootbin_distclean image_ub_distclean
# download needed repos
fetch: \
uboot_prepare \
bootfw_prepare \
linux_prepare \
atf_prepare \
dtb_prepare \
dtc_prepare \
# check the availability of commands
$(XSCT_BIN) $(BOOTGEN_BIN) $(PETALINUX_BUILD_BIN) $(PETALINUX_CONFIG_BIN):
$(if $(shell which $@),,$(error "$(@) not found"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment