Also remove patch 0001-fix-build-flags.patch. The uCLibc issue is fixed
upstream.
Add patch taken and slighly adopted from the c-periphery package to fix build
issue with musl.
Build was tested with an uCLibc toolchain and a musl toolchain.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
The new version of the lua-periphery LuaRocks package handles fetching the
c-periphery dependency, so that it no longer needs to be cloned during the
lua-periphery build process. Consequently, this removes the need for selecting
c-periphery as a package dependency in buildroot and the need for the patches
that modify lua-periphery to be built against an external c-periphery.
[Thomas:
- remove dependency from .mk file, as noticed by Baruch
- add patch to fix uClibc build]
Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
lua-periphery currently clones and builds the c-periphery library by
itself. This causes two problems:
1/ It does not integrate properly with the download infrastructure of
Buildroot, making offline builds impossible since not the entire
source code is downloaded by Buildroot.
2/ It does not use the latest version of c-periphery, which has some
fixes contributed by Vicente to fix c-periphery on MIPS.
This commit fixes:
http://autobuild.buildroot.org/results/0ad/0ad656970b3cbc84b5531b28155ba2f747715fe3/
[Peter: fix minor typo in patch 0001 description]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
[ThomasDS: rewrap package/lua-periphery/Config.in]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
(compile-tested on x86/glibc armel/uclibc)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>