<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/pkg-cmake.mk, branch 2016.08</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.08</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.08'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-07-05T10:18:36+00:00</updated>
<entry>
<title>cmake: move the host-pkgconf dependency from host-cmake to pkg-cmake</title>
<updated>2016-07-05T10:18:36+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca@lucaceresoli.net</email>
</author>
<published>2016-07-01T15:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6ab3383f76c4e9f7151c4fce103e5ff7d5b6eb98'/>
<id>urn:sha1:6ab3383f76c4e9f7151c4fce103e5ff7d5b6eb98</id>
<content type='text'>
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 &lt;luca@lucaceresoli.net&gt;
Cc: Samuel Martin &lt;s.martin49@gmail.com&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Davide Viti &lt;zinosat@tiscali.it&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
[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 &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>pkg-cmake.mk: export the fortran compiler path in the CMake toolchain file</title>
<updated>2016-07-03T14:58:11+00:00</updated>
<author>
<name>Samuel Martin</name>
<email>s.martin49@gmail.com</email>
</author>
<published>2016-07-03T13:47:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=019ba1dc5283864405f966fbbf9ce799a06f7c27'/>
<id>urn:sha1:019ba1dc5283864405f966fbbf9ce799a06f7c27</id>
<content type='text'>
Since the fortran support is conditional, only enable it when needed.

Signed-off-by: Samuel Martin &lt;s.martin49@gmail.com&gt;
Signed-off-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Cc: Benjamin Kamath &lt;bkamath@spaceflight.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>infra: remove auto derivation of host dependencies</title>
<updated>2016-07-03T08:24:02+00:00</updated>
<author>
<name>Julien Floret</name>
<email>julien.floret@6wind.com</email>
</author>
<published>2016-07-02T22:21:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4bdb067e380e72c3a6cb9c6ccf3791a6cf8661e0'/>
<id>urn:sha1:4bdb067e380e72c3a6cb9c6ccf3791a6cf8661e0</id>
<content type='text'>
This feature consists in automatically deducing dependencies of a host
package from the dependencies of the target variant.

However, it causes some issues, and many host packages need different
dependencies than their target variants.

Now that host dependencies are explicitly set for all packages, we can
remove it.

Signed-off-by: Julien Floret &lt;julien.floret@6wind.com&gt;
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo</title>
<updated>2016-07-01T21:36:16+00:00</updated>
<author>
<name>Charles Hardin</name>
<email>ckhardin@exablox.com</email>
</author>
<published>2016-05-21T20:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4b0120183404913f7f7788ef4f0f6b51498ef363'/>
<id>urn:sha1:4b0120183404913f7f7788ef4f0f6b51498ef363</id>
<content type='text'>
&gt;From the documentation on BR2_ENABLE_DEBUG, the intention is to get
a build with debug symbols and not a "debug build" since that can have
the unintended consequence of being a different code path then a
release build type definition.

Switch the "Debug" to "RelWithDebInfo" in the cmake package support
to accomodate getting the debug symbols and still be a release
build.

Signed-off-by: Charles Hardin &lt;ckhardin@exablox.com&gt;
Reviewed-by: Samuel Martin &lt;s.martin49@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package-cmake: remove now-redundant target ccache support</title>
<updated>2015-10-04T16:22:20+00:00</updated>
<author>
<name>Arnout Vandecappelle</name>
<email>arnout@mind.be</email>
</author>
<published>2015-10-04T12:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e31ad0e809ca2cc75d16ac8f6c4ae3c850e828a6'/>
<id>urn:sha1:e31ad0e809ca2cc75d16ac8f6c4ae3c850e828a6</id>
<content type='text'>
All the complexity with the different ways that CMAKE_C_COMPILER and
CMAKE_C_COMPILER_ARG1 can be set are no longer needed, it's all handled
by the toolchain wrapper now.

Note that it is still necessary to handle this for the host build.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Reviewed-by: Romain Naour &lt;romain.naour@openwide.fr&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>pkg-cmake: change sed expression delimiter</title>
<updated>2015-09-22T14:23:23+00:00</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo.zacarias@free-electrons.com</email>
</author>
<published>2015-09-21T18:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=d90b1d74cb78f5668d49fe8262290eaff1d61a1d'/>
<id>urn:sha1:d90b1d74cb78f5668d49fe8262290eaff1d61a1d</id>
<content type='text'>
Switch from : to # since CFLAGS can include :'s spilled in from
BR2_TARGET_OPTIMIZATION, for example:

BR2_TARGET_OPTIMIZATION="-Wl,-rpath,/lib:/usr/lib" would cause the sed
expression to fail thus breaking the build.

Signed-off-by: Gustavo Zacarias &lt;gustavo.zacarias@free-electrons.com&gt;
Reviewed-by: Samuel Martin &lt;s.martin49@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>skeleton: New package</title>
<updated>2015-07-14T16:08:23+00:00</updated>
<author>
<name>Maxime Hadjinlian</name>
<email>maxime.hadjinlian@gmail.com</email>
</author>
<published>2015-07-14T11:36:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=7a6b83a211612ff95a1f5d35b2861ad5655ac8b1'/>
<id>urn:sha1:7a6b83a211612ff95a1f5d35b2861ad5655ac8b1</id>
<content type='text'>
Create a proper package for the skeleton.

The main Makefile is modified to remove the skeleton support.
The 'dirs' target, will create the $(TARGET_DIR).
The file 'output/target/.root' doesn't exists anymore, as there's no
Make rule to statisfy.

The infrastructure are modified to filter host-skeleton.
It's needed becauses the host-dependencies are derived from the
dependencies of the target package where 'host-' is preprended to the
depedency name.

In the pkg-generic we add skeleton as a dependency to every package.

The whole system/system.mk is now removed at the profit of
package/skeleton/skeleton.mk

[Thomas:
  - rebase on top of master and fix some minor conflicts
  - remove the 'select BR2_PACKAGE_SKELETON' in
    BR2_ROOTFS_SKELETON_DEFAULT and BR2_ROOTFS_SKELETON_CUSTOM, since
    anyway the skeleton package is always enabled.
  - fixup a few mistakes in the getty handling due to misnamed
    variables.]

Signed-off-by: Maxime Hadjinlian &lt;maxime.hadjinlian@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>pkg-cmake: Skip compilation in installation step</title>
<updated>2015-04-23T07:50:16+00:00</updated>
<author>
<name>Cédric Marie</name>
<email>cedric.marie@openmailbox.org</email>
</author>
<published>2015-04-22T20:11:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=dfcc18f84b0d90b0ed5937bac3c4b12aba086cd5'/>
<id>urn:sha1:dfcc18f84b0d90b0ed5937bac3c4b12aba086cd5</id>
<content type='text'>
With CMake build system, the "make install" command always compiles
before installing, to make sure that everything is up-to-date.

In Buildroot environment, this is quite useless, because the package
has always already been compiled, either at first build, or when
invoking "make &lt;package&gt;-rebuild".
In all cases, when it comes to staging or target installation step, the
package has just been compiled.

Using "make install/fast" - in order to skip the compilation step - is
therefore more appropriate, more consistent with what other build
systems do, and saves time when you need to rebuild your package.

Signed-off-by: Cédric Marie &lt;cedric.marie@openmailbox.org&gt;
Acked-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Tested-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>pkg-cmake: allow to build package in a subdirectory</title>
<updated>2015-03-13T21:34:43+00:00</updated>
<author>
<name>Gwenhael Goavec-Merou</name>
<email>gwenhael.goavec-merou@trabucayre.com</email>
</author>
<published>2015-03-13T08:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=604c92043bf0e40a8eb23aa54f57d0e49ca6fbe2'/>
<id>urn:sha1:604c92043bf0e40a8eb23aa54f57d0e49ca6fbe2</id>
<content type='text'>
For some cmake based packages, like GNURadio, it's forbidden to do the
compilation directly in the sources directory. This patch add a new
variable to specify, if needed, the name of a sub-directory used to compile.

[Thomas: put the documentation at the right place in the manual, not
in the middle of the &lt;pkg&gt;_CONF_OPTS description.]

Signed-off-by: Gwenhael Goavec-Merou &lt;gwenhael.goavec-merou@trabucayre.com&gt;
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Tested-by: Angelo Compagnucci &lt;angelo.compagnucci@gmail.com&gt;
Reviewed-by: Samuel Martin &lt;s.martin49@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'next'</title>
<updated>2015-03-02T22:26:20+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2015-03-02T22:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=7403ea730d75ce0af51cb1bd5665674bb5bfae42'/>
<id>urn:sha1:7403ea730d75ce0af51cb1bd5665674bb5bfae42</id>
<content type='text'>
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
