Skip to content

Commit

Permalink
u-boot-iot2050: Move the tools building to the last step
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
BaochengSu committed Jun 19, 2024
1 parent 5a0f616 commit 4db48c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-bsp/u-boot/files/rules.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4db48c1

Please sign in to comment.