kumquat-buildroot/boot/uboot
Yann E. MORIN c9b6604fa7 package/uboot: detect missing user-supplied environment source files
Since 0542bb79e8 (uboot: Support multiple environment source files),
missing user-supplied environment source files is no longer detected.

This is because we cat them all, and feed the concatenation to the stdin
of mkenvimage. So, if one source file is missing, the cat exits in error,
but the compound command exits with the exit code of the last command,
which is that of mkenvimage, which happens to be happy with whatever it
is fed on its stdin, even is empty.

We fix that by creating a temporary file, that we even leave afterward
for the user to inspect.

We also move it out of the _CMDS block and into a macro of its own, so
that it is easier to write and maintain.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cam Hutchison <camh@xdna.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-12-14 06:37:13 +01:00
..
2015.07 u-boot: 2015.07 - fix creation of .config 2015-08-30 22:40:35 +02:00
2016.07 u-boot: Fix building for ARC700 2016-09-25 23:24:27 +02:00
2016.09.01 u-boot: Fix building for ARC700 2016-09-25 23:24:27 +02:00
Config.in boot: uboot: fix typo 2017-12-08 14:32:02 +01:00
uboot.hash uboot: bump to version 2017.11 2017-11-15 23:12:28 +01:00
uboot.mk package/uboot: detect missing user-supplied environment source files 2017-12-14 06:37:13 +01:00