kumquat-buildroot/package/swupdate
Jörg Krause f8fcece3a1 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:
37a6666a53

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-01-27 10:53:31 +01:00
..
0001-compat.h-introduce-compatibility-header.patch swupdate: add upstream patch to fix musl build issue 2018-01-18 22:11:48 +01:00
0002-Fix-build-if-DOWNLOAD-is-set-but-no-JSON.patch swupdate: add upstream patch to fix build error 2018-01-27 10:53:31 +01:00
Config.in
swupdate.config
swupdate.hash
swupdate.mk swupdate: remove empty line 2018-01-15 15:16:31 +01:00