package/uboot-tools: install host-fit_check_sign
fit_check_sign is a tool for verifying fit image signatures, which gets built if host-uboot-tools is built with fit signature support. Install it if so. Signed-off-by: Woodrow Douglass <wdouglass@carnegierobotics.com> [Peter: reword commit message] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
2f996ed3a8
commit
4c8ba31a72
@ -130,6 +130,9 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y)
|
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y)
|
||||||
HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000
|
HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000
|
||||||
HOST_UBOOT_TOOLS_DEPENDENCIES += host-openssl
|
HOST_UBOOT_TOOLS_DEPENDENCIES += host-openssl
|
||||||
|
define HOST_UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN
|
||||||
|
$(INSTALL) -m 0755 -D $(@D)/tools/fit_check_sign $(HOST_DIR)/bin/fit_check_sign
|
||||||
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE),y)
|
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE),y)
|
||||||
@ -215,6 +218,7 @@ define HOST_UBOOT_TOOLS_INSTALL_CMDS
|
|||||||
$(INSTALL) -m 0755 -D $(@D)/tools/mkeficapsule $(HOST_DIR)/bin/mkeficapsule
|
$(INSTALL) -m 0755 -D $(@D)/tools/mkeficapsule $(HOST_DIR)/bin/mkeficapsule
|
||||||
$(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(HOST_DIR)/bin/mkenvimage
|
$(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(HOST_DIR)/bin/mkenvimage
|
||||||
$(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(HOST_DIR)/bin/dumpimage
|
$(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(HOST_DIR)/bin/dumpimage
|
||||||
|
$(HOST_UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN)
|
||||||
$(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(HOST_DIR)/bin/fw_printenv
|
$(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(HOST_DIR)/bin/fw_printenv
|
||||||
ln -sf $(HOST_DIR)/bin/fw_printenv $(HOST_DIR)/bin/fw_setenv
|
ln -sf $(HOST_DIR)/bin/fw_printenv $(HOST_DIR)/bin/fw_setenv
|
||||||
$(HOST_UBOOT_TOOLS_INSTALL_ENVIMAGE)
|
$(HOST_UBOOT_TOOLS_INSTALL_ENVIMAGE)
|
||||||
|
Loading…
Reference in New Issue
Block a user