Skip to content
Snippets Groups Projects
Verified Commit 18fc33cc authored by Michal Hrusecky's avatar Michal Hrusecky :mouse: Committed by Josef Schlehofer
Browse files

uboot-tools: Enable FIT image support

We need FIT image support for netboot, but it is also in general quite a
handy feature.
parent 44fe7446
Branches
Tags
1 merge request!596uboot-tools: Enable FIT image support
Pipeline #107373 passed with stages
in 9 minutes and 28 seconds
......@@ -103,8 +103,8 @@ index a9eccec..1e2c351 100644
+ NO_SDL=1 \
+ envtools defconfig
+ mv $(PKG_BUILD_DIR)/tools/env/fw_printenv $(PKG_BUILD_DIR)
+ sed -i 's|^\(CONFIG_RSA.*\)=y|# \1 is not set|' $(PKG_BUILD_DIR)/.config
+ sed -i 's|^\(CONFIG_FIT\)=y|# \1 is not set|' $(PKG_BUILD_DIR)/.config
+ echo 'CONFIG_FIT=y' >> $(PKG_BUILD_DIR)/.config
+ echo 'CONFIG_MULTI_DTB_FIT=n' >> $(PKG_BUILD_DIR)/.config
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
+ TARGET_CFLAGS="$(TARGET_CFLAGS)" \
......
......@@ -13,8 +13,8 @@ index 1e2c35178c..467d0c9b86 100644
+++ b/package/boot/uboot-tools/Makefile
@@ -80,6 +80,9 @@ define Build/Compile
mv $(PKG_BUILD_DIR)/tools/env/fw_printenv $(PKG_BUILD_DIR)
sed -i 's|^\(CONFIG_RSA.*\)=y|# \1 is not set|' $(PKG_BUILD_DIR)/.config
sed -i 's|^\(CONFIG_FIT\)=y|# \1 is not set|' $(PKG_BUILD_DIR)/.config
echo 'CONFIG_FIT=y' >> $(PKG_BUILD_DIR)/.config
echo 'CONFIG_MULTI_DTB_FIT=n' >> $(PKG_BUILD_DIR)/.config
+ifeq ($(CONFIG_TARGET_mpc85xx_p2020_DEVICE_cznic_turris1x),y)
+ sed -i 's|^\(CONFIG_EFI_LOADER=y\)|CONFIG_EFI_LOADER=n|' $(PKG_BUILD_DIR)/.config
+endif
......
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