mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/uboot-tools: include FIT print support if FIT support is enabled
Otherwise "dumpimage -l" produces only a newline when processing a FIT image. Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
2440dccc67
commit
39b925a0a6
@@ -32,6 +32,7 @@ define UBOOT_TOOLS_CONFIGURE_CMDS
|
||||
touch $(@D)/include/config/auto.conf
|
||||
mkdir -p $(@D)/include/generated
|
||||
$(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),$(UBOOT_TOOLS_ENABLE_HASH_ALGOS))
|
||||
$(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),echo '#define CONFIG_TOOLS_FIT_PRINT 1' >> $(@D)/include/generated/autoconf.h)
|
||||
echo $(if $(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),'#define CONFIG_FIT_SIGNATURE 1') >> $(@D)/include/generated/autoconf.h
|
||||
mkdir -p $(@D)/include/asm
|
||||
touch $(@D)/include/asm/linkage.h
|
||||
@@ -124,6 +125,7 @@ define HOST_UBOOT_TOOLS_CONFIGURE_CMDS
|
||||
touch $(@D)/include/config/auto.conf
|
||||
mkdir -p $(@D)/include/generated
|
||||
$(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT),$(UBOOT_TOOLS_ENABLE_HASH_ALGOS))
|
||||
$(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT),echo '#define CONFIG_TOOLS_FIT_PRINT 1' >> $(@D)/include/generated/autoconf.h)
|
||||
echo $(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),'#define CONFIG_FIT_SIGNATURE 1') >> $(@D)/include/generated/autoconf.h
|
||||
mkdir -p $(@D)/include/asm
|
||||
touch $(@D)/include/asm/linkage.h
|
||||
|
||||
Reference in New Issue
Block a user