aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: fix build error with Xcode 9 on macOS 12Felix Fietkau2017-10-051-0/+15
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/cmake: remove HOST_CONFIGURE_CMD and re-distribute the args & varsAlexandru Ardelean2017-02-011-5/+2
| | | | | | | | | | The final semantic is the same, but this is a bit more correct. Build tested on Windows 10 (yes, there is some Ubuntu mode for Windows 10, and I've been also building LEDE on it for a few weeks). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* cmake: properly pass host cflags/ldflags to the buildFelix Fietkau2017-01-131-1/+2
| | | | | | | | This should hopefully fix build issues where libraries that we ship in tools/ were accidentally picked up from other places on the system, e.g. /usr/local Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: support verbose build that shows compiler commandsFelix Fietkau2017-01-131-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: restore parallel build support for bootstrapFelix Fietkau2017-01-132-1/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: cmake: link librt if needed (FS#381)Jo-Philipp Wich2017-01-112-3/+33
| | | | | | | | | | Patch cmakes cmcurl component to unconditionally link librt when we discover a clock_gettime() symbol in -lrt. This is required to sucessfully link LibreSSL's libcrypto which might or might not reqauire librt. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: cmake: use different approach for passing LDFLAGSJo-Philipp Wich2017-01-051-3/+5
| | | | | | | Funnel the required LDFLAGS environment through HOST_CONFIGURE_CMD for now as the HOST_CONFIGURE_VARS semantics are completely broken. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: cmake: use pkg-config to discover libcrypto linker flagsJo-Philipp Wich2017-01-051-1/+2
| | | | | | | | | LibreSSL's libcrypto.so has an indirect dependency to librt for clock_gettime() on Linux. Use pkg-config to portably discover the required linker flags. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* cmake: update to version 3.7.1Felix Fietkau2017-01-054-571/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: cmake: fix compatibility with LibreSSL as wellJo-Philipp Wich2016-12-011-0/+22
| | | | | | | | Sadly, LibreSSL claims to be OpenSSL v2.0.0 while not providing the new interfaces introduced with OpenSSL v1.1.x, so extend the pre-OpenSSL 1.1.x compat checks to consider LibreSSL as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: cmake: import another upstream commit for OpenSSL backwards compatibilityJo-Philipp Wich2016-12-012-1/+191
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: cmake: import upstream patch for OpenSSL 1.1.x compatibilityJo-Philipp Wich2016-12-011-0/+379
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools/cmake: update to 3.7.0Hannu Nyman2016-11-263-6/+6
| | | | | | | Release notes at https://cmake.org/cmake/help/v3.7/release/3.7.html Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: update to 3.6.1Hannu Nyman2016-08-153-7/+7
| | | | | | Update cmake to 3.6.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: fix parallel build with Make 4.2+Matthias Schiffer2016-06-151-2/+3
| | | | | | | | Avoid using the --parallel argument to the CMake bootstrap, as that doesn't allow us to remove the -j argument. Instead, pass the HOST_JOBS arguments in MAKEFLAGS. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools/cmake: bump to 3.5.2Syrone Wong2016-05-131-2/+2
| | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* tools/cmake: update to 3.5.1Hauke Mehrtens2016-04-173-8/+5
| | | | | | | | | Update cmake to 3.5.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49186
* tools/cmake: fix compile on Alpine LinuxJohn Crispin2016-03-101-0/+17
| | | | | | | | | | | | | | | | | | internal jsoncpp include order leads to multiple build errors on Alpine Linux which uses musl libc use include order from upstream jsoncpp first error was: In file included from /usr/include/c++/5.3.0/stdexcept:38:0, from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/include/json/assertions.h:16, from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp:7: /usr/include/c++/5.3.0/exception:35:9: error: '#pragma' is not allowed here #pragma GCC visibility push(default) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 48995
* tools/cmake: update to 3.4.3John Crispin2016-02-081-2/+2
| | | | | | | | Update cmake to 3.4.3. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 48659
* tools/cmake: update version to 3.4.1Felix Fietkau2016-01-101-4/+4
| | | | | | | | Update cmake version to 3.4.1, released in Dec 2015. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 48188
* tools/cmake: update to 3.4.0John Crispin2015-11-213-6/+6
| | | | | | | | | Update cmake to 3.4.0. Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47568
* tools/cmake: update to 3.3.2Felix Fietkau2015-10-313-17/+15
| | | | | | | | | Update cmake to 3.3.2 and refresh patches. Add a secondary download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47327
* tools: Fix cmake build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+44
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44281
* cmake: upgrade to 2.8.12.2Luka Perkov2014-02-161-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39598
* cmake: upgrade to 2.8.12.1Luka Perkov2013-11-241-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38899
* cmake: upgrade to 2.8.12Luka Perkov2013-10-182-6/+10
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38457
* tools/cmake: disable qt related checks to fix build issuesFelix Fietkau2013-09-071-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37917
* cmake: upgrade to 2.8.11.2Luka Perkov2013-08-161-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37794
* cmake: upgrade to version 2.8.10.2Luka Perkov2013-02-281-3/+3
| | | | SVN-Revision: 35826
* cmake: update to version 2.8.9Felix Fietkau2012-09-281-3/+6
| | | | SVN-Revision: 33576
* build: add the + token to any commands that can pass through the jobserver, ↵Felix Fietkau2012-09-231-0/+1
| | | | | | fixes parallel build on some systems SVN-Revision: 33523
* tools/cmake: enable parallel buildsFelix Fietkau2012-09-151-0/+5
| | | | SVN-Revision: 33441
* Revert "[tools] cmake: link statically"Jo-Philipp Wich2012-08-101-3/+0
| | | | | | Static linking of cmake is broken on x86_64, until we can sort it out, revert the static linking. SVN-Revision: 33118
* cmake: link staticallyJo-Philipp Wich2012-08-101-0/+3
| | | | SVN-Revision: 33114
* cmake: update to 2.8.7Florian Fainelli2012-04-021-3/+3
| | | | | | Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> SVN-Revision: 31168
* tools/cmake: update to version 2.8.4Alexandros C. Couloumbis2011-03-241-2/+2
| | | | SVN-Revision: 26283
* add tools/cmakeFelix Fietkau2011-01-311-0/+18
SVN-Revision: 25264