uboot-imx: fix wrong make flags overriding
authorPetr Štetiar <ynezz@true.cz>
Sat, 28 May 2022 12:18:06 +0000 (14:18 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sat, 28 May 2022 12:32:40 +0000 (14:32 +0200)
commit481339a0426698adaa0254b479807efde0428de9
tree8c9d4fe942313d072903bd3b48b329a81f7aecc1
parentefff48529b5cdb4046b923bebee483c7c68755a7
uboot-imx: fix wrong make flags overriding

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 <openssl/evp.h>
             ^~~~~~~~~~~~~~~
 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 in all device recipes.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/boot/uboot-imx/Makefile