diff options
author | Marek Belisko <marek.belisko@open-nandra.com> | 2013-07-03 22:51:20 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-07-28 15:37:23 +0200 |
commit | aef9be3eb38ece0169ab1e70c45ea07ff0588288 (patch) | |
tree | 6a17df71b1a290117fa1842d35e281d4b46ac8d8 /package/libiqrf | |
parent | 88418bd2de3e2161fc5085a68c5e558a95644a07 (diff) | |
download | buildroot-aef9be3eb38ece0169ab1e70c45ea07ff0588288.tar.gz buildroot-aef9be3eb38ece0169ab1e70c45ea07ff0588288.zip |
libiqrf: Bump to v0.1.2 + update build system.
v0.1.2 update build system from autotools to cmake.
[Thomas: add patch to ensure the CMake build system only checks for a
C compiler and not a C++ compiler]
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libiqrf')
-rw-r--r-- | package/libiqrf/libiqrf-use-only-c-language.patch | 29 | ||||
-rw-r--r-- | package/libiqrf/libiqrf.mk | 4 |
2 files changed, 31 insertions, 2 deletions
diff --git a/package/libiqrf/libiqrf-use-only-c-language.patch b/package/libiqrf/libiqrf-use-only-c-language.patch new file mode 100644 index 0000000000..2f1c23c28b --- /dev/null +++ b/package/libiqrf/libiqrf-use-only-c-language.patch @@ -0,0 +1,29 @@ +Use only the C language + +libirqf is written completely in C, but by default, CMake assumes that +both C and C++ are used, and therefore verifies that a C++ compiler is +installed. This may not necessarily be the case for a C-only package +in Buildroot. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/src/CMakeLists.txt +=================================================================== +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -1,5 +1,3 @@ +-project(iqrf) +- + set (iqrf_version_major 0) + set (iqrf_version_minor 1) + set (iqrf_version_patch 2) +Index: b/CMakeLists.txt +=================================================================== +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,3 +1,5 @@ ++project(iqrf C) ++ + cmake_minimum_required(VERSION 2.8.1) + enable_testing() + diff --git a/package/libiqrf/libiqrf.mk b/package/libiqrf/libiqrf.mk index f2d5b4c8c4..df4bb421d8 100644 --- a/package/libiqrf/libiqrf.mk +++ b/package/libiqrf/libiqrf.mk @@ -4,11 +4,11 @@ # ################################################################################ -LIBIQRF_VERSION = v0.1.0 +LIBIQRF_VERSION = v0.1.2 LIBIQRF_SITE = http://github.com/nandra/libiqrf/tarball/$(LIBIQRF_VERSION) LIBIQRF_INSTALL_STAGING = YES LIBIQRF_DEPENDENCIES = libusb -$(eval $(autotools-package)) +$(eval $(cmake-package)) |