From 4db48c1c9cbc8d80735b6bd798bd398d90d9bf75 Mon Sep 17 00:00:00 2001 From: Baocheng Su Date: Wed, 19 Jun 2024 18:48:45 +0800 Subject: [PATCH] u-boot-iot2050: Move the tools building to the last step So that the previous steps could use the native tools, for example, the iot2050-sign-fw.sh could use the built native mkimage. Signed-off-by: Baocheng Su --- recipes-bsp/u-boot/files/rules.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/u-boot/files/rules.tmpl b/recipes-bsp/u-boot/files/rules.tmpl index 7b380350d..6342c45d6 100755 --- a/recipes-bsp/u-boot/files/rules.tmpl +++ b/recipes-bsp/u-boot/files/rules.tmpl @@ -22,10 +22,10 @@ override_dh_auto_build: else \ ./scripts/get_default_envs.sh >u-boot-initial-env; \ fi - $(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1 tools-only envtools if [ -e keys ]; then \ tools/iot2050-sign-fw.sh keys/custMpk.pem ${FIRMWARE_SECURE_VER}; \ fi + $(MAKE) $(PARALLEL_MAKE) $(SET_CROSS_BUILD_TOOLS) NO_SDL=1 tools-only envtools override_dh_auto_install: mv tools/env/lib.a tools/env/libubootenv.a