]> git.sur5r.net Git - u-boot/commitdiff
mkimage -l is broken for images after gpimage
authorStefano Babic <sbabic@denx.de>
Mon, 11 Jul 2016 14:09:48 +0000 (16:09 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 11 Jul 2016 14:57:05 +0000 (10:57 -0400)
Because a gpimage cannot be detected, a false
GP header is printed instead of checking
for further image types.

Move gpimage as last to be linked, letting check
all other image types and printing a GP header just
in case no image is detected.

Signed-off-by: Stefano Babic <sbabic@denx.de>
tools/Makefile

index 63355aa36d8cb72b8b46545f8afe687efee2f346..f72294a98a583fee5cfb43ec15cc61615b7e8e88 100644 (file)
@@ -76,8 +76,6 @@ dumpimage-mkimage-objs := aisimage.o \
                        lib/fdtdec.o \
                        fit_common.o \
                        fit_image.o \
-                       gpimage.o \
-                       gpimage-common.o \
                        common/image-fit.o \
                        image-host.o \
                        common/image.o \
@@ -100,6 +98,8 @@ dumpimage-mkimage-objs := aisimage.o \
                        zynqimage.o \
                        zynqmpimage.o \
                        $(LIBFDT_OBJS) \
+                       gpimage.o \
+                       gpimage-common.o \
                        $(RSA_OBJS-y)
 
 dumpimage-objs := $(dumpimage-mkimage-objs) dumpimage.o