summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2018-01-24 23:00:29 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-01-27 10:53:31 +0100
commitf8fcece3a13bcfbb65816b83f184ce881400d08b (patch)
treedfc6debb1bba3e3cb7cdd4c40a6395bc6c77a1b5 /package/gcc
parentb857c7481a9fc8ff47906e15bdc485abb03d368a (diff)
downloadbuildroot-f8fcece3a13bcfbb65816b83f184ce881400d08b.tar.gz
buildroot-f8fcece3a13bcfbb65816b83f184ce881400d08b.zip
swupdate: add upstream patch to fix build error
When building SWUpdate with the following defconfig: ``` CONFIG_DOWNLOAD=y ``` .. the build process breaks with: ``` corelib/channel_curl.c:27:10: fatal error: json-c/json.h: No such file or directory #include <json-c/json.h> ``` Looking at the SWUpdate Kconfig based build system shows that `CONFIG_DOWNLOAD` depends on `HAVE_LIBCURL`, which selects CURL, which eventually enables the (unnecessary) build of channel_curl.o. The upstream fixes the condition for building channel_curl.o by adding a new hidden config option `CHANNEL_CURL`, which is only selected by the dependent options. Backported from: https://github.com/sbabic/swupdate/commit/37a6666a532e9cbc42b56301f27919ae7c00d2eb Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud