summaryrefslogtreecommitdiffstats
path: root/package/cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: fix build with libuv 1.21.0Fabrice Fontaine2018-06-231-0/+32
| | | | | | | | | | | Retrieve patch from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229255#c1 Fixes: - http://autobuild.buildroot.net/results/86d67e5d30f7e3ba9a4932c06640a7924202d3f9 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "package/cmake: bump version to 3.10.0 and add license hash"Thomas Petazzoni2017-12-122-5/+4
| | | | | | | | | | | | | | | This reverts commit 65205c2425bccb7039ca0e2caffb7c64c26805f7, which causes too many build failures of host-cmake due to the use by CMake of the emplace_hint C++11 method. Fixes: http://autobuild.buildroot.net/results/90d38169b50c29842ecc1752c2abf66d4c2d9e63/ This new dependency of host-cmake will have to be taken care of in a more complete patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cmake: bump version to 3.10.0 and add license hashMario Lang2017-12-122-4/+5
| | | | | Signed-off-by: Mario Lang <mlang@blind.guru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: expose the host variant in menuconfigPeter Korsgaard2017-09-191-0/+11
| | | | | | | | | With the addition of the sdk support it may be interesting to build host-cmake even though no packages need it, so expose it in menuconfig. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* cmake: explicitly disable openssl support for host-cmakePeter Korsgaard2017-09-191-0/+1
| | | | | | | | | | | | | | host-cmake will optionally link with openssl for the embedded copy of libarchive if available, leaking host dependencies and possibly causing build issues in case of compatibility issues - E.G. the host-cmake version we have in 2017.02.x doesn't build against openssl-1.1.0+: https://github.com/libarchive/libarchive/issues/810 The openssl support in libarchive is unlikely to be needed, so explicitly disable it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Globally replace $(HOST_DIR)/usr/include with $(HOST_DIR)/includeArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/include' | xargs sed -i 's%$(HOST_DIR)/usr/include%$(HOST_DIR)/include%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefixArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | | Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.8.2Vicente Olivert Riera2017-06-063-4/+5
| | | | | | | | cmake depends on rhash, but host-cmake doesn't. This is because we use the bundled dependencies for host-cmake but not for target. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cmake: propagate libuv dependenciesYann E. MORIN2017-05-071-0/+2
| | | | | | | | | | | | | | In c2c06a6de02, cmake version was bumped and a new dependency on libuv was added, but it did not propagate all the dependencies of libuv, missing sync_4 (probably because sync_4 was added after the patch was sent on the list, but before it was applied to the tree). Fix that, which fixes unmet dependencies. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/c*/Config.in: fix ordering of statementsAdam Duskett2017-04-291-7/+7
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter c in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-3cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.7.2Vicente Olivert Riera2017-03-012-3/+3
| | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: adjust dependencies added for libuvThomas Petazzoni2017-03-011-3/+3
| | | | | | | | | | | | | | | | | | | Commit 1ffcf364b6e9894a876dc581a090f87685945412 updated cmake to 3.7.0, which requires selecting the libuv package. At the time, the libuv package only depended on BR2_TOOLCHAIN_HAS_THREADS. However, later on, it was changed in master to depend on BR2_TOOLCHAIN_HAS_THREADS_NPTL, a change which was not taken into account in the cmake 3.7.0 bump that was merged in the next branch. Due to this, builds of cmake is attempted on architectures that don't provide NPTL thread support, causing a build failure. This commit fixes that by adjusting the dependency. Fixes: http://autobuild.buildroot.net/results/16a5e1cbb57c0124537c4f3dc0807ba1eaa975ec/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.7.1Vicente Olivert Riera2017-03-012-3/+3
| | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.7.0Vicente Olivert Riera2017-03-013-7/+12
| | | | | | | | libuv is now a required dependency. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "cmake: bump version to 3.7.0"Yann E. MORIN2017-02-263-12/+7
| | | | | | | | | | | | | | | cmake 3.7 causes serious regressions in some cmake-based packages, related to how RPATH is handled. This reverts commit 1ffcf364b6e9894a876dc581a090f87685945412. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Jörg Krause <joerg.krause@embedded.rocks> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "cmake: bump version to 3.7.1"Yann E. MORIN2017-02-262-3/+3
| | | | | | | | | | | | | | | cmake 3.7 causes serious regressions in some cmake-based packages, related to how RPATH is handled. This reverts commit d96fafc3d346af8790df45557b16069d6ce81e79. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Jörg Krause <joerg.krause@embedded.rocks> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "cmake: adjust dependencies added for libuv"Yann E. MORIN2017-02-261-3/+3
| | | | | | | | | | | | | | | cmake 3.7 causes serious regressions in some cmake-based packages, related to how RPATH is handled. This reverts commit b754237520a4795eadc0edec768b267dd598ab0e. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Jörg Krause <joerg.krause@embedded.rocks> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "cmake: bump version to 3.7.2"Yann E. MORIN2017-02-262-3/+3
| | | | | | | | | | | | | | | cmake 3.7 causes serious regressions in some cmake-based packages, related to how RPATH is handled. This reverts commit f8a6990c92451dab2ff9e14f3e94fdecbd79b604. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Jörg Krause <joerg.krause@embedded.rocks> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cmake: bump version to 3.7.2Vicente Olivert Riera2017-01-162-3/+3
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cmake: adjust dependencies added for libuvThomas Petazzoni2016-12-071-3/+3
| | | | | | | | | | | | | | | | | | | Commit 1ffcf364b6e9894a876dc581a090f87685945412 updated cmake to 3.7.0, which requires selecting the libuv package. At the time, the libuv package only depended on BR2_TOOLCHAIN_HAS_THREADS. However, later on, it was changed in master to depend on BR2_TOOLCHAIN_HAS_THREADS_NPTL, a change which was not taken into account in the cmake 3.7.0 bump that was merged in the next branch. Due to this, builds of cmake is attempted on architectures that don't provide NPTL thread support, causing a build failure. This commit fixes that by adjusting the dependency. Fixes: http://autobuild.buildroot.net/results/16a5e1cbb57c0124537c4f3dc0807ba1eaa975ec/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: pass HOST_CONFIGURE_OPTS at configure timeThomas Petazzoni2016-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we bumped CMake from 3.5.2 to 3.6.3 in commit 99ed85d74081a8611a6f6d1f3d745a5c40aef975, CMake uses pkg-config during its configure step to find available libraries on the host. If host-pkgconf was not built before host-cmake, everything was working fine. However, if host-pkgconf was built before, the configure step of host-cmake was finding pkg-config and used it to find libraries. Unfortunately, since we were not passing PKG_CONFIG_PATH/PKG_CONFIG_SYSROOT_DIR, pkg-config was behaving in its "default" mode, i.e returning results valid when building things for the target, not for the host. This lead to header paths pointing to the staging directory being used when building native binary objects, causing all sort of build failures. This commit fixes that by passing $(HOST_CONFIGURE_OPTS) to the environment of host-cmake configure step. This variable contains HOST_MAKE_ENV, which itself contains the appropriate PKG_CONFIG_PATH/PKG_CONFIG_SYSROOT_DIR definitions. At the same time, we drop LDFLAGS="$(HOST_LDFLAGS)" because this definition is already in $(HOST_CONFIGURE_OPTS). Fixes: http://autobuild.buildroot.net/results/4e703ed8c2eb0f914794038b0ef7bd73a67f38ce/ (and 424 similar build failures) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.7.1Vicente Olivert Riera2016-12-022-3/+3
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cmake: bump version to 3.7.0Vicente Olivert Riera2016-11-253-7/+12
| | | | | | | | libuv is now a required dependency. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.6.3Vicente Olivert Riera2016-11-053-15/+21
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "cmake: bump version to 3.6.0"Thomas Petazzoni2016-07-153-20/+15
| | | | | | | | | This reverts commit b6ff742ca0d8b2901036d3ad03fe60c6b2a7725f. This bump causes numerous build failures, so Vicente and Yann proposed to revert it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.6.0Vicente Olivert Riera2016-07-143-15/+20
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: add documentation about how it is builtLuca Ceresoli2016-07-051-0/+12
| | | | | | | | | | | | | | | | | | | | | Commit 7b17bafc5d7948aff3059e058ada80ad1fc50500 by Davide Viti has a detailed explanation of some unusual techniques used for building host-cmake and (target-)cmake. This is useful information for whoever starts hacking on it, so copy it in the makefile, where it will be easily noticed. Also remove the sentence about host-cmake having a runtime dependency on host-pkgconfig (not true anymore: it's the specific cmake-packages that depend on it) and fix typos. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Davide Viti <zinosat@tiscali.it> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: move the host-pkgconf dependency from host-cmake to pkg-cmakeLuca Ceresoli2016-07-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | In 3d475ee0ba4d6eea6aca25594cfe5bb153ac804f a dependency on host-pkgconf was added to host-cmake. It is a workaround to fix build failures for packages that use pkgconf through a cmake module, but do not depend on host-pkgconf as they should. Since it is the package that needs host-pkgconf and not host-cmake itself, move the dependency to the proper place, in pkg-cmake.mk. Also copy the explanation on the mentioned commit as a comment in order to clarify why we do this. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Davide Viti <zinosat@tiscali.it> Cc: Arnout Vandecappelle <arnout@mind.be> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: - update on top of master - drop empty HOST_CMAKE_DEPENDENCIES, no longer needed since host dependencies are no longer derived from target dependencies.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cmake: bump version to 3.5.2Bernd Kuhls2016-04-172-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump to version 3.5.1Gustavo Zacarias2016-03-252-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cmake: bump version to 3.5.0Vicente Olivert Riera2016-03-182-4/+4
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/cmake: bump version to 3.4.3Bernd Kuhls2016-01-282-4/+4
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cmake: bump to version 3.4.2Gustavo Zacarias2016-01-202-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cmake: bump to version 3.4.1Gustavo Zacarias2015-12-032-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cmake: bump to version 3.4.0Gustavo Zacarias2015-11-132-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* cmake: bump to version 3.3.2Gustavo Zacarias2015-09-194-37/+10
| | | | | | | xtensa patch is upstream so there's no need for it any longer. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* host-cmake: Install with install/fast targetCédric Marie2015-04-231-1/+1
| | | | | | | | | | | Use install/fast target in order to skip compilation in installation step. The same trick has just been used in pkg-cmake.mk for all CMake packages. Signed-off-by: Cédric Marie <cedric.marie@openmailbox.org> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-1/+1
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cmake: add support for xtensaMax Filippov2015-03-172-1/+31
| | | | | | Backported from: ded79a976e2b63bbfd7a63f27ec00bd071410e27 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cmake: not available on static-only buildSamuel Martin2015-03-171-2/+3
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/9f7/9f7c8d5078cd1f3cd493f9ae8e95c8ee728f98fd/ Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cmake: disable on unsupported architecturesSamuel Martin2015-03-171-0/+11
| | | | | | | | | | | | | | | | | Supported architectures are listed at [1]. Fixes: http://autobuild.buildroot.net/results/de9/de9021fdc63600536ffa91e4b8718584e3e5702c/ http://autobuild.buildroot.net/results/0f1/0f1afc62e91ab798fa65685af3dea3caac663f11/ [1] https://github.com/Kitware/CMake/blob/master/Utilities/KWIML/ABI.h.in#L339 [Thomas: rewrap list of supported architectures.] Signed-off-by: Samuel Martin <s.martin49@gmail.com> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cmake: make ctest a target package tooDavide Viti2015-03-153-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Useful for packages shipped with a testsuite which makes use of ctest Since ctest is just a tool provided by the cmake sources, this change introduces a hidden BR2_PACKAGE_CMAKE symbol which is automatically selected by the BR2_PACKAGE_CMAKE_CTEST one. This is like this mostly for consistency (cmake is the actual package, not ctest). CMake is a particular package: * CMake can be built using the generic infrastructure or the cmake one. Since Buildroot has no requirement regarding the host system cmake program presence, it uses the generic infrastructure to build the host-cmake package, then the (target-)cmake package can be built using the cmake infrastructure; * CMake bundles its dependencies within its sources. This is the reason why the host-cmake package only has host-pkgconf as (runtime) dependency, whereas the (target-)cmake package has a lot of dependencies, using only the system-wide libraries instead of rebuilding and staitcally linking with the ones bundles into the CMake sources. [Thomas: - add missing C++ dependency. - add missing multiple 'select' in Config.in - add missing wchar dependency, inherited from selecting libarchive.] Signed-off-by: Davide Viti <zinosat@tiscali.it> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: don't use any header available in $(HOST_DIR)/usr/includeFabio Porcedda2015-03-071-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The -I<dir> options added to CMAKE_C_FLAGS are passed to the compiler before the -I<dir> options of the cmake internal headers, so when the host-xz package was already built, a #include <lzma.h> directive loads the host-xz header instead of the cmake internal one. Because we don't want to use any header avaiable in -I$(HOST_DIR)/usr/include, just get rid of the -I<dir> options in the HOST_CFLAGS. Fix build failure: make host-xz host-cmake .../output/build/host-cmake-3.1.3/Utilities/cmliblzma/liblzma/common/block_buffer_decoder.c:17:1: error: conflicting types for ‘lzma_block_buffer_decode’ lzma_block_buffer_decode(lzma_block *block, lzma_allocator *allocator, ^ In file included from /home/tetsuya/buildroot/br2/output/host/usr/include/lzma.h:296:0, from /home/tetsuya/buildroot/br2/output/build/host-cmake-3.1.3/Utilities/cmliblzma/liblzma/common/common.h:34, from /home/tetsuya/buildroot/br2/output/build/host-cmake-3.1.3/Utilities/cmliblzma/liblzma/common/block_decoder.h:16, from /home/tetsuya/buildroot/br2/output/build/host-cmake-3.1.3/Utilities/cmliblzma/liblzma/common/block_buffer_decoder.c:13: /home/tetsuya/buildroot/br2/output/host/usr/include/lzma/block.h:577:27: note: previous declaration of ‘lzma_block_buffer_decode’ was here extern LZMA_API(lzma_ret) lzma_block_buffer_decode( ^ Utilities/cmliblzma/CMakeFiles/cmliblzma.dir/build.make:261: recipe for target 'Utilities/cmliblzma/CMakeFiles/cmliblzma.dir/liblzma/common/block_buffer_decoder.c.o' failed make[3]: *** [Utilities/cmliblzma/CMakeFiles/cmliblzma.dir/liblzma/common/block_buffer_decoder.c.o] Error 1 Fixes: http://autobuild.buildroot.org/results/4edf6e169dc4a00d8a8bd16a86eba2316cbbd9e5 http://autobuild.buildroot.org/results/a9ff38b22a36a2f8427d33085d3263a8cbfbd746 http://autobuild.buildroot.org/results/ecaa0227249207b5450519832a193c1585ac8177 [Thomas: - simplify the sed expression. Instead of trying to remove '-I <something>' from $(HOST_CFLAGS), simply remove $(HOST_CPPFLAGS) from $(HOST_CFLAGS). - add the same logic for HOST_CXXFLAGS.] Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Samuel Martin <s.martin49@gmail.com> Tested-by: Samuel Martin <s.martin49@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.1.3Fabio Porcedda2015-02-222-2/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: bump version to 3.1.2Vicente Olivert Riera2015-02-092-1/+3
| | | | | | | | - Bump version to 3.1.2 - Add a hash file Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake : bump to version 3.0.2Jeremy Rosen2014-09-222-40/+2
| | | | | | | | | | | | | The cmake-0001-FindQt4-do-not-prepend-CMake-root-path-when-searchin.patch patch has been merged upstream as part of commit e8b8b37ef6fef094940d3384df5a1d421b9fa568. [Thomas: tweak commit log by adding details about the patch being removed.] Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cmake: add host-pkgconf as dependencySamuel Martin2014-08-311-0/+2
| | | | | | | | Since some CMake modules (even upstream ones) use pgk_check_modules primitives to find {C,LD}FLAGS, add it to the dependency list. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cmake: disable building of ccmakeFabio Porcedda2014-05-121-0/+1
| | | | | | | | | | | | | | | To speedup building disable ccmake because it's not needed by buildroot. Also disabling ccmake get rid of the ncurses optional unspecified dependency for the sake of reproducible builds. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Luca Ceresoli <luca@lucaceresoli.net> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Alexander Potashev <aspotashev@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud