<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/cmake.mk, branch v18.06.7</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.7</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.7'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2018-10-04T20:26:22Z</updated>
<entry>
<title>build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk</title>
<updated>2018-10-04T20:26:22Z</updated>
<author>
<name>Amol Bhave</name>
</author>
<published>2018-10-02T15:48:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=b3c64797db86b4c2ff315a25ce063b983e4ae71c'/>
<id>urn:sha1:b3c64797db86b4c2ff315a25ce063b983e4ae71c</id>
<content type='text'>
Sometimes, the CMakeLists.txt file is not in the root directory of a
repo. In those cases, the CMAKE_SOURCE_SUBDIR variable can be specified
to use CMakeLists.txt from a subdirectory instead.

Signed-off-by: Amol Bhave &lt;ambhave@fb.com&gt;
</content>
</entry>
<entry>
<title>cmake: skip build system check on compile</title>
<updated>2017-02-21T12:03:20Z</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/chunkeey/commit/?id=294e908a2cb53ab4ea34e202a31fc941a4825e16'/>
<id>urn:sha1:294e908a2cb53ab4ea34e202a31fc941a4825e16</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: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory for all targets</title>
<updated>2017-01-18T18:47:36Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2017-01-18T18:47:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3d71786154fbb3fcfbd652115f3e75db3f729941'/>
<id>urn:sha1:3d71786154fbb3fcfbd652115f3e75db3f729941</id>
<content type='text'>
Using a single host package staging dir (and build dir) significantly speeds up
builds when multiple targets are built in succession, especially for large host
packages like NodeJS.

$(STAGING_DIR)/host is kept in addition to $(STAGING_DIR_HOSTPKG) in most
places; it is still used as destination for host files in Build/InstallDev.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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>
</feed>
