#
7f0dd31b |
|
13-Apr-2016 |
Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> |
include/cmake.mk: Add helper macro to handle conditionals for CMake boolean type variables Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49164 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
05e366cf |
|
25-Jan-2016 |
Felix Fietkau <nbd@openwrt.org> |
include/cmake.mk: search in $(STAGING_DIR)/usr instead of plain $(STAGING_DIR) to avoid picking up stuff from host/ Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48492 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
8d94947e |
|
25-Jan-2016 |
Felix Fietkau <nbd@openwrt.org> |
include/cmake.mk: adjust for STAGING_DIR_HOST split Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48491 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
e9da769c |
|
03-Jan-2016 |
Felix Fietkau <nbd@openwrt.org> |
build: for cmake, always use ccache from staging dir instead of relying on the host Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48079 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
7184eecb |
|
19-Apr-2015 |
Felix Fietkau <nbd@openwrt.org> |
cmake.mk: enable -Bsymbolic-functions by default for linking shared libs, slightly improves performance and compression Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45508 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
a8aab069 |
|
06-Apr-2015 |
Felix Fietkau <nbd@openwrt.org> |
cmake.mk: add host build support Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45282 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
c0bb7955 |
|
28-Mar-2015 |
Felix Fietkau <nbd@openwrt.org> |
build: fix CMake assembly builds with ccache CMAKE_ASM_COMPILER is automatically set to CMAKE_C_COMPILER by CMake, but CMAKE_C_COMPILER_ARG1 is lost. This causes assembly builds to fail when ccache is enabled (for example the package fastd on x86). Fix this by explicitly defining CMAKE_ASM_COMPILER and CMAKE_ASM_COMPILER_ARG1. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45119 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
4ca62eb7 |
|
16-Mar-2015 |
Felix Fietkau <nbd@openwrt.org> |
cmake: include external toolchain directory in CMAKE_FIND_ROOT_PATH (fixes #19074) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44825 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
9e9fee4f |
|
08-Feb-2015 |
Jo-Philipp Wich <jow@openwrt.org> |
include: cmake: prevent inclusion of rpath in binaries Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44328 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
6c2782f0 |
|
26-Dec-2014 |
Felix Fietkau <nbd@openwrt.org> |
build: use gcc-provided ar, nm and ranlib where appropriate Since GCC 4.7, GCC provides its own wrappers around ar, nm and ranlib, which should be used for builds with link-time optimization. Since GCC 4.9, using them actually necessary for LTO builds using convenience libraries to succeed. There are some packages which try to automatically detect if gcc-{ar,nm,ranlib} exist (one example is my package "fastd" in the package repository, which tries to use LTO). This breaks because the OpenWrt build system explicitly sets the binutils versions of these tools. As it doesn't cause any issues to use gcc-{ar,nm,ranlib} instead of {ar,nm,ranlib} even without LTO, this patch just makes OpenWrt use the GCC-provided versions by default, which fixes the build of such packages with GCC 4.9. (I know that builds fail though when clang is used with -flto and gcc-{ar,nm,ranlib}, but as all OpenWrt toolchains are based on GCC, this isn't a real issue.) Completely cleaning the tree (or at least `make clean toolchain/clean`) is necessary to get a consistent state after the binutils plugins support patch and this one (as trying to use gcc-{ar,nm,ranlib} with a binutils built without plugin support will definitely lead to a build failure). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43784 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
8e748441 |
|
11-Jun-2014 |
Felix Fietkau <nbd@openwrt.org> |
include/cmake.mk: fix indentation Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41144 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
ad7cb5fd |
|
30-May-2014 |
Felix Fietkau <nbd@openwrt.org> |
include/cmake.mk: define CMAKE_AR and CMAKE_RANLIB to fix build errors Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40885 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
2a60be27 |
|
18-Nov-2013 |
Felix Fietkau <nbd@openwrt.org> |
cmake.mk: fix support for ccache Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38853 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
7a471ec8 |
|
07-Aug-2013 |
Jo-Philipp Wich <jow@openwrt.org> |
include: cmake: pass toolchain directory to default root find path as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37737 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
5a81cbc7 |
|
29-Dec-2012 |
Felix Fietkau <nbd@openwrt.org> |
cmake.mk: add support for overriding the source dir, and define the cmake prefix path to avoid picking up host libraries for target builds (patch by Henning Rogge) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34914 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
d98a55de |
|
26-Apr-2012 |
Felix Fietkau <nbd@openwrt.org> |
cmake: add support for V=cs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31485 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
5910803e |
|
08-Jan-2012 |
Jo-Philipp Wich <jow@openwrt.org> |
[include] cmake.mk: fix passing of LDFLAGS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29701 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
6d140972 |
|
24-Jul-2011 |
Felix Fietkau <nbd@openwrt.org> |
cmake: fix ccache command when using host ccache (patch from #9611) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27742 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
2bc81b5e |
|
22-Jun-2011 |
Jo-Philipp Wich <jow@openwrt.org> |
[include] cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling (#9573) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27256 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
13597f00 |
|
20-May-2011 |
Felix Fietkau <nbd@openwrt.org> |
add LD_LIBRARY to cmake.mk Otherwise cmake programs try to link with host ld.so Signed-off-by: Jan Willies <jan@willies.info> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26963 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
418fe288 |
|
10-Apr-2011 |
Jo-Philipp Wich <jow@openwrt.org> |
[include] cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on `which` instead git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26584 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
96eaaee4 |
|
05-Mar-2011 |
Michael Büsch <mb@bu3sch.de> |
cmake: Fix ccache git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25878 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
de51e40c |
|
05-Feb-2011 |
Michael Büsch <mb@bu3sch.de> |
cmake: Pass VERBOSE=1 to the generated makefile to reveal flags and commands in a verbose openwrt build. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25376 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
22fdb17e |
|
05-Feb-2011 |
Michael Büsch <mb@bu3sch.de> |
cmake: Remove -O3 from release CFLAGS. Honor the OpenWRT -Os flag instead. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25372 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
5119fdd8 |
|
31-Jan-2011 |
Felix Fietkau <nbd@openwrt.org> |
add a template for cmake packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25265 3c298f89-4303-0410-b956-a3cf2f4a3e73
|