On 11/23/18 10:52 AM, Petr Štetiar wrote: > Example usage: > > Define Device/apalis > ... > UBOOT_PATH := $$(STAGING_DIR_IMAGE)/$$(UBOOT)-u-boot.img > UBOOT_SPL_PATH := $$(STAGING_DIR_IMAGE)/$$(UBOOT)-SPL > ARTIFACTS := spl-uboot.bin > ARTIFACT/spl-uboot.bin := append-uboot-spl | pad-to 68k | append-uboot > endef > > Signed-off-by: Petr Štetiar <[email protected]>
Where do you need this? Normally the U-Boot build process creates a binary with the spl + u-boot. Hauke > --- > include/image-commands.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/image-commands.mk b/include/image-commands.mk > index 05d3609..c324bc2 100644 > --- a/include/image-commands.mk > +++ b/include/image-commands.mk > @@ -221,6 +221,10 @@ define Build/append-uboot > dd if=$(UBOOT_PATH) >> $@ > endef > > +define Build/append-uboot-spl > + dd if=$(UBOOT_SPL_PATH) >> $@ > +endef > + > define Build/pad-to > dd if=$@ [email protected] bs=$(1) conv=sync > mv [email protected] $@ >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
