<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/include/cmake.mk, branch v17.01.2</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v17.01.2</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v17.01.2'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2017-02-21T15:16:25Z</updated>
<entry>
<title>cmake: skip build system check on compile</title>
<updated>2017-02-21T15:16:25Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-02-20T11:13:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f6d94b0dd67f4d5e5dbadbd97a765732d6a0e757'/>
<id>urn:sha1:f6d94b0dd67f4d5e5dbadbd97a765732d6a0e757</id>
<content type='text'>
cmake checks the build system and its variables on its own to detect if
the makefiles need to be regenerated.
Unfortunately this can invalidate overrides passed in the
Build/Configure step. On non-Linux systems this breaks the build when
switching between targets of the same package architecture.

Fix this by forcibly disabling the build system check and relying on the
LEDE build system to take care of these things

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: use CXXFLAGS if defined</title>
<updated>2016-10-13T15:04:43Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2016-10-02T23:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=559fb537d83bc30fc2dfa783292b9f86712966d6'/>
<id>urn:sha1:559fb537d83bc30fc2dfa783292b9f86712966d6</id>
<content type='text'>
Instead of using TARGET_CFLAGS and EXTRA_CFLAGS in cmake and scons
build use the TARGET_CXXFLAGS and EXTRA_CXXFLAGS like it is done for
normal make and configure. configure used TARGET_CXXFLAGS and
EXTRA_CFLAGS for the CXXFLAGS. The package-default.mk sets
"EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)" so using EXTRA_CXXFLAGS flags should
be save.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>include/cmake.mk: fix host builds</title>
<updated>2016-07-29T20:47:46Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-07-29T20:47:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=50e7c1f79d0e72c6f6b63611c5b93fc8be2f70cf'/>
<id>urn:sha1:50e7c1f79d0e72c6f6b63611c5b93fc8be2f70cf</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds</title>
<updated>2016-07-29T18:27:34Z</updated>
<author>
<name>Luke McKee</name>
</author>
<published>2016-07-23T19:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=eadf5fb7f8313d78fa503665e96457d080e6e3f9'/>
<id>urn:sha1:eadf5fb7f8313d78fa503665e96457d080e6e3f9</id>
<content type='text'>
Some packages need out of source tree building with cmake, for example
when building kernel modules.
See an example here:
https://sourceforge.net/p/accel-ppp/code/ci/master/tree/README

Signed-off-by: Luke McKee &lt;hojuruku@gmail.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt; [cleanup, rework]
</content>
</entry>
<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/pepe2k/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/pepe2k/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/pepe2k/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/pepe2k/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/pepe2k/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/pepe2k/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>
</feed>
