<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/lynxis/include/cmake.mk, branch reboot</title>
<subtitle>lynxis staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/lynxis/atom?h=reboot</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/lynxis/atom?h=reboot'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/'/>
<updated>2016-04-13T20:21:38Z</updated>
<entry>
<title>include/cmake.mk: Add helper macro to handle conditionals for CMake boolean type variables</title>
<updated>2016-04-13T20:21:38Z</updated>
<author>
<name>Vasilis Tsiligiannis</name>
</author>
<published>2016-04-13T20:21:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=d55512075b368ef060eae5f41b946a96936d1ceb'/>
<id>urn:sha1:d55512075b368ef060eae5f41b946a96936d1ceb</id>
<content type='text'>
Signed-off-by: Vasilis Tsiligiannis &lt;acinonyx@openwrt.gr&gt;

SVN-Revision: 49164
</content>
</entry>
<entry>
<title>include/cmake.mk: search in $(STAGING_DIR)/usr instead of plain $(STAGING_DIR) to avoid picking up stuff from host/</title>
<updated>2016-01-25T15:49:49Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-01-25T15:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=1d2c63c45518030171766c666755eac5f1bd4fd2'/>
<id>urn:sha1:1d2c63c45518030171766c666755eac5f1bd4fd2</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 48492
</content>
</entry>
<entry>
<title>include/cmake.mk: adjust for STAGING_DIR_HOST split</title>
<updated>2016-01-25T15:49:44Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-01-25T15:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=7b5236de85a7d4fb5bb77d4a6fcbff89f127b070'/>
<id>urn:sha1:7b5236de85a7d4fb5bb77d4a6fcbff89f127b070</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 48491
</content>
</entry>
<entry>
<title>build: for cmake, always use ccache from staging dir instead of relying on the host</title>
<updated>2016-01-03T14:44:30Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-01-03T14:44:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=48fc1f97812324325df214362955ee02f97d6e84'/>
<id>urn:sha1:48fc1f97812324325df214362955ee02f97d6e84</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 48079
</content>
</entry>
<entry>
<title>cmake.mk: enable -Bsymbolic-functions by default for linking shared libs, slightly improves performance and compression</title>
<updated>2015-04-19T18:33:07Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-04-19T18:33:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=d2ecd10f2fd1868bc45989a4670e91c8cce87699'/>
<id>urn:sha1:d2ecd10f2fd1868bc45989a4670e91c8cce87699</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 45508
</content>
</entry>
<entry>
<title>cmake.mk: add host build support</title>
<updated>2015-04-06T19:37:42Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-04-06T19:37:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=4cfc7b50aedfa558c54079fab611e0dd7fee9279'/>
<id>urn:sha1:4cfc7b50aedfa558c54079fab611e0dd7fee9279</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 45282
</content>
</entry>
<entry>
<title>build: fix CMake assembly builds with ccache</title>
<updated>2015-03-29T05:12:58Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-03-29T05:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=a5422864f57e1e944acca71880b065a46b35e97e'/>
<id>urn:sha1:a5422864f57e1e944acca71880b065a46b35e97e</id>
<content type='text'>
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 &lt;mschiffer@universe-factory.net&gt;

SVN-Revision: 45119
</content>
</entry>
<entry>
<title>cmake: include external toolchain directory in CMAKE_FIND_ROOT_PATH (fixes #19074)</title>
<updated>2015-03-16T07:51:45Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-03-16T07:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=da91462013061324ad20b41ac0b0327f00e36826'/>
<id>urn:sha1:da91462013061324ad20b41ac0b0327f00e36826</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44825
</content>
</entry>
<entry>
<title>include: cmake: prevent inclusion of rpath in binaries</title>
<updated>2015-02-08T22:54:15Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2015-02-08T22:54:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=fd53d49f5b8e49cad3a97aae24b779cc4b720006'/>
<id>urn:sha1:fd53d49f5b8e49cad3a97aae24b779cc4b720006</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;

SVN-Revision: 44328
</content>
</entry>
<entry>
<title>build: use gcc-provided ar, nm and ranlib where appropriate</title>
<updated>2014-12-27T12:59:59Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-12-27T12:59:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=9a467998042abfc0b1c7c5e4420c27615544cee3'/>
<id>urn:sha1:9a467998042abfc0b1c7c5e4420c27615544cee3</id>
<content type='text'>
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 &lt;mschiffer@universe-factory.net&gt;

SVN-Revision: 43784
</content>
</entry>
</feed>
