[OpenWrt-Devel] Build errors when activating the Device Tree flag for Raspberry Pi

Felix Fietkau nbd at openwrt.org
Tue Jul 14 04:41:47 EDT 2015


On 2015-07-14 10:08, Jernej Izak wrote:
>  
> 
> Hi,
> 
>  
> 
> About activating device tree on build OpenWRT with Raspberry pi.
> 
> We tried to add patch
> “0002-kernel-fix-build-with-CONFIG_MTD-unset.patch” to
> “/target/linux/generic/patches-3.18” in second try to
> “/target/linux/brcm2708/patches-3.18 but we still got below error:
> 
>  
> 
> /Applying patch generic/0002-kernel-fix-build-with-CONFIG_MTD-unset.patch
> (Stripping trailing CRs from patch; use --binary to disable.)
> can't find file to patch at input line 21
> Perhaps you used the wrong -p or --strip option?
The patch is meant to be applied on the OpenWrt tree directly, not
copied to a target patches directory.

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



More information about the openwrt-devel mailing list