From 64fb5ae67ab0840d3da75f101abc2af0aeed2365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Tue, 12 Jul 2022 09:22:15 +0200 Subject: [PATCH] uboot-imx: pico-pi-imx7d: fix wrong make flags overriding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Buidbots are currently choking on the following compile error: In file included from tools/aisimage.c:9: include/image.h:1133:12: fatal error: openssl/evp.h: No such file or directory # include ^~~~~~~~~~~~~~~ compilation terminated. This is caused by a complete overriding of make flags which are provided correctly in `UBOOT_MAKE_FLAGS` variable, but currently overriden instead of extended. This then leads to the usage of build host include dirs, which are not available. Fix it by extending `UBOOT_MAKE_FLAGS` variable like it was done in commit 481339a04266 ("uboot-imx: fix wrong make flags overriding"). Fixes: 7094e6550336 ("uboot-imx: add support for TechNexion PICO-PI-IMX7D") Signed-off-by: Petr Štetiar --- package/boot/uboot-imx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-imx/Makefile b/package/boot/uboot-imx/Makefile index c23e48732b238..ade26db768658 100644 --- a/package/boot/uboot-imx/Makefile +++ b/package/boot/uboot-imx/Makefile @@ -39,7 +39,7 @@ endef define U-Boot/pico-pi-imx7d NAME:=TechNexion PICO-PI-IMX7D UBOOT_IMAGE:=SPL u-boot-dtb.img - UBOOT_MAKE_FLAGS:=SPL u-boot-dtb.img + UBOOT_MAKE_FLAGS+=SPL u-boot-dtb.img BUILD_SUBTARGET:=cortexa7 BUILD_DEVICES:=technexion_imx7d-pico-pi endef