[PATCH 03/10] Makefile: add target to produce a SPL compatible uimage
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Sep 3 12:22:39 EDT 2012
On 13:45 Mon 03 Sep , Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> ---
> Makefile | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 969afbb..243a689 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -673,6 +673,11 @@ barebox.bin: barebox FORCE
> $(call if_changed,objcopy)
> $(call cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE))
>
> +barebox.img: barebox.bin
> + $(srctree)/scripts/mkimage -A $(ARCH) -T firmware -C none \
> + -O barebox -a $(CONFIG_TEXT_BASE) -e $(CONFIG_TEXT_BASE) \
> + -n "barebox $(KERNELRELEASE)" -d $< $@
> +
you must us this kbuild style
quiet_cmd_xxx
cmd_xxx
and you need to use the $(KBUILD_IMAGE) present in the next
Best Regards,
J.
More information about the barebox
mailing list