fix: marvell: Check the required libraries before building doimage
authorKonstantin Porotchkin <kostap@marvell.com>
Tue, 14 Aug 2018 09:26:45 +0000 (12:26 +0300)
committerKonstantin Porotchkin <kostap@marvell.com>
Mon, 3 Sep 2018 13:05:54 +0000 (16:05 +0300)
Some customers are missing host libraries required for doimage
builds.
This patch requests for the library installation check for every
doimage build and suggest the required installation steps in case
of missing headers.

Change-Id: Icde18c3d4d6045f65e50d2dc9e6514971f40033e
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
plat/marvell/marvell.mk

index 217ad46f0a409f32e3c36cea21e3d8b414b7d8eb..2a2da3b93b45862f3de09ab75a6162515e138fe8 100644 (file)
@@ -48,6 +48,7 @@ mrvl_clean:
        ${Q}${MAKE} PLAT=${PLAT} --no-print-directory -C ${DOIMAGEPATH} clean
 
 ${DOIMAGETOOL}: mrvl_clean
+       @$(DOIMAGE_LIBS_CHECK)
        ${Q}${MAKE} --no-print-directory -C ${DOIMAGEPATH} WTMI_IMG=$(WTMI_IMG)