Re: + search-a-little-harder-for-mkimage.patch added to -mm tree

From: Mike Frysinger
Date: Thu Feb 08 2007 - 09:28:28 EST


On 2/8/07, Oleg Verych <olecom@xxxxxxxxxxxxxx> wrote:
proposition is to substitute:
"$(CONFIG_SHELL) $(MKIMAGE)"
with
"mkimage"

this isnt a one-to-one change ... let's look at the typical
mkimage-missing scenario ...

with mkuboot.sh you'd get output like:
...
UIMAGE arch/blackfin/boot/vmImage
"mkimage" command not found - U-Boot images will not be built
Building modules, stage 2.
...

with mkimage you'd get output like:
...
UIMAGE arch/blackfin/boot/vmImage
/bin/sh: mkimage: command not found
make[1]: *** [arch/blackfin/boot/vmImage] Error 127
make: *** [vmImage] Error 2

so while you could change all the Makefile's to insert - to ignore
*all* failures, without the script, you loose the ability to only
ignore "binary missing" errors
-mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/