[OpenWrt-Devel] [PATCH] ipq40xx: fritz4040 depends on uboot-fritz4040

David Bauer mail at david-bauer.net
Sat Nov 9 18:20:47 EST 2019


Hello Sven,

On 11/9/19 11:52 PM, Sven Roederer wrote:
> The "append-uboot" macro is looking for the file "$(STAGING_DIR_IMAGE)/uboot-fritz4040.bin"
> which is provided by the u-boot-fritz4040 package. If this is not build, image creation
> will fail with "file not found".

The dependency comes from the U-Boot package [0], so it should be pulled in automatically.
Maybe you are missing this commit [1]?

[0] https://github.com/openwrt/openwrt/blob/master/package/boot/uboot-fritz4040/Makefile#L31
[1] https://github.com/openwrt/openwrt/commit/40e3f660c1c0f400092cce09feb8c13bec97caeb

Best wishes
David

> 
> Signed-off-by: Sven Roederer <devel-sven at geroedel.de>
> ---
>  target/linux/ipq40xx/image/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile
> index a9c5e625af..7ae6f36baa 100644
> --- a/target/linux/ipq40xx/image/Makefile
> +++ b/target/linux/ipq40xx/image/Makefile
> @@ -130,7 +130,7 @@ define Device/avm_fritzbox-4040
>  	IMAGES = eva.bin sysupgrade.bin
>  	IMAGE/eva.bin := append-uboot | pad-to $$$$(UBOOT_PARTITION_SIZE) | append-kernel | append-rootfs | pad-rootfs
>  	IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
> -	DEVICE_PACKAGES := fritz-tffs fritz-caldata
> +	DEVICE_PACKAGES := fritz-tffs fritz-caldata u-boot-fritz4040
>  endef
>  TARGET_DEVICES += avm_fritzbox-4040
>  
> 

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list