[LEDE-DEV] Fwd: porting arduino/linino boards into LEDE trunk
Arturo Rinaldi
arturo at arduino.org
Wed Aug 3 01:59:21 PDT 2016
Hello folks,
I'm in the process of integrating all the set of Arduino/Linino boards
in the LEDE main trunk. I have noticed some changes in the main ar71xx
main Makefile comparing the code with the one of the OpenWRT trunk.
As far as I have understood, now there is a separate makefile for the
category of "legacy devices" like ours. For this very reeason I have
written a legacy-linino.mk containing all the build profile which will
be called in the main legacy.mk after of course inserting all the
needed entries for the different profiles.
In addition to this, I need to override the kernel image cmdline hack
setting by disabling it otherwise our image won't properly build.
Please take a look at the attached patch in which I also reinstated
the Multiprofile function since I usually need to build the images for
multiple boards.
Unfortunately, when launching the kernel "install" process of the
image (to test if the image actually builds) I get this error :
export MAKEFLAGS= ;make -w legacy-images
make[5]: Entering directory
`/home/arturo/temp/lede-source/target/linux/ar71xx/image'
cp /home/arturo/temp/lede-source/build_dir/target-mips_34kc_musl-1.1.15/linux-ar71xx_generic/vmlinux
/home/arturo/temp/lede-source/build_dir/target-mips_34kc_musl-1.1.15/linux-ar71xx_generic/tmp/vmlinux-linino-yun
echo "2"
2
ifneq (,)
bash: -c: line 0: syntax error near unexpected token `,'
bash: -c: line 0: `ifneq (,)'
make[5]: *** [legacy-image-LININO] Error 1
make[5]: Leaving directory
`/home/arturo/temp/lede-source/target/linux/ar71xx/image'
make[4]: *** [legacy-images-make] Error 2
make[4]: Leaving directory
`/home/arturo/temp/lede-source/target/linux/ar71xx/image'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/arturo/temp/lede-source/target/linux/ar71xx'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/arturo/temp/lede-source/target/linux'
make[1]: *** [target/linux/install] Error 2
make[1]: Leaving directory `/home/arturo/temp/lede-source
as reported in the first lines, the comparison statement given by :
ifneq ($(CONFIG_IMAGE_CMDLINE_HACK),)
...
endef
is detected as a syntax error by the build system so, any hints on
this ? I think I might close in getting a working lede build on our
series of devices.
Best, Arturo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lede-cmdline-hack.patch
Type: application/octet-stream
Size: 7286 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20160803/668a36da/attachment.obj>
More information about the Lede-dev
mailing list