[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
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.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list