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

Bruno Randolf br1 at einfach.org
Tue Jul 14 11:05:04 EDT 2015


On 07/14/2015 03:34 PM, John Crispin wrote:
> 
> 
> On 14/07/2015 14:41, Bruno Randolf wrote:
>> On 07/14/2015 12:43 PM, Jernej Izak wrote:
>>> ifneq (y,)
>>>
>>> bash: -c: line 0: syntax error near unexpected token `y,'
>>>
>>> bash: -c: line 0: `ifneq (y,)'
>>
>> That looks like being caused by my "brcm2708: Implement sysupgrade"
>> (commit 49f8801514837980bd80dd3fa1c24e82897d2e5c)... I tested it but
>> blogic committed a slightly different version which seems to be broken.
>> I'm checking it now...
>>
>> bruno
> 
> i used the version in patchwork, was that not the one to use ?

Yes. I'm not blaming you and I'm not exactly sure what happened, but I
think the image generation process has been changed in the mean time.
E.g. my patch (and the one in patchwork
http://patchwork.ozlabs.org/patch/494584/) had the "mcopy" lines before
./gen_rpi_sdcard_img.sh and the one you applied has them in a different
target. Also now the image is generated in
target-arm_cortex-a7+vfp_musl-1.1.10_eabi/linux-brcm2708_bcm2709/tmp/
and before directly in bin/brcm2708/...

Something must have changed in the way the target is evaluated so that
"ifneq" is interpreted as a shell command. And also there are other
places now where the .gz ending would have to be handled.

bruno
_______________________________________________
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