[PATCH 2/8] Makefile: add target to produce a SPL compatible uimage
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed Sep 5 14:05:16 EDT 2012
On 17:52 Wed 05 Sep , Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> ---
> Makefile | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index c6264d3..69e28e3 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -680,6 +680,16 @@ ifndef CONFIG_PBL_IMAGE
> $(call cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE))
> endif
>
> +# For development provide a target which makes barebox loadable by an
> +# unmodified u-boot
> +quiet_cmd_barebox_mkimage = MKIMAGE $@
> + cmd_barebox_mkimage = $(srctree)/scripts/mkimage -A $(ARCH) -T firmware -C none \
> + -O barebox -a $(CONFIG_TEXT_BASE) -e $(CONFIG_TEXT_BASE) \
> + -n "barebox $(KERNELRELEASE)" -d $< $@
> +
> +barebox.img: barebox.bin FORCE
> + $(call if_changed,barebox_mkimage)
this will not work whit the PBL
please fix it
Best Regards,
J.
More information about the barebox
mailing list