From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] cmake: add documentation about how it is built
Date: Sat, 2 Jul 2016 16:48:08 +0200 [thread overview]
Message-ID: <20160702144807.GO22343@free.fr> (raw)
In-Reply-To: <1467388410-28135-3-git-send-email-luca@lucaceresoli.net>
Luca, All,
On 2016-07-01 17:53 +0200, Luca Ceresoli spake thusly:
> Commit 7b17bafc5d7948aff3059e058ada80ad1fc50500 by Davide Viti has a
> detailed explanation of some unusual techniques used for building
> host-cmake and (target-)cmake. This is useful information for whoever
> starts hacking on it, so copy it in the makefile, where it will be
> easily noticed.
>
> Also remove the sentence about host-cmake having a runtime dependency
> on host-pkgconfig (not true anymore: it's the specific cmake-packages
> that depend on it) and fix typos.
>
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> Cc: Samuel Martin <s.martin49@gmail.com>
> Cc: Davide Viti <zinosat@tiscali.it>
> Cc: Arnout Vandecappelle <arnout@mind.be>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/cmake/cmake.mk | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
> index 33fb4aa..d734e03 100644
> --- a/package/cmake/cmake.mk
> +++ b/package/cmake/cmake.mk
> @@ -10,6 +10,18 @@ CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
> CMAKE_LICENSE = BSD-3c
> CMAKE_LICENSE_FILES = Copyright.txt
>
> +# CMake is a particular package:
> +# * CMake can be built using the generic infrastructure or the cmake one.
> +# Since Buildroot has no requirement regarding the host system cmake
> +# program presence, it uses the generic infrastructure to build the
> +# host-cmake package, then the (target-)cmake package can be built
> +# using the cmake infrastructure;
> +# * CMake bundles its dependencies within its sources. This is the
> +# reason why the host-cmake package has no dependencies:, whereas
> +# the (target-)cmake package has a lot of dependencies, using only
> +# the system-wide libraries instead of rebuilding and statically
> +# linking with the ones bundled into the CMake sources.
> +
> HOST_CMAKE_DEPENDENCIES =
> CMAKE_DEPENDENCIES = zlib jsoncpp libcurl libarchive expat bzip2 xz
>
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2016-07-02 14:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 15:53 [Buildroot] [PATCH 0/3] Skip host-cmake dependency to speedup builds Luca Ceresoli
2016-07-01 15:53 ` [Buildroot] [PATCH 1/3] Move the host-pkgconf dependency from host-cmake to pkg-cmake Luca Ceresoli
2016-07-02 13:56 ` Arnout Vandecappelle
2016-07-02 14:44 ` Yann E. MORIN
2016-07-02 14:52 ` Arnout Vandecappelle
2016-07-02 15:43 ` Yann E. MORIN
2016-07-04 9:23 ` Luca Ceresoli
2016-07-01 15:53 ` [Buildroot] [PATCH 2/3] cmake: add documentation about how it is built Luca Ceresoli
2016-07-02 13:57 ` Arnout Vandecappelle
2016-07-02 14:48 ` Yann E. MORIN [this message]
2016-07-01 15:53 ` [Buildroot] [PATCH 3/3] Don't build host-cmake if it is available on the build host Luca Ceresoli
2016-07-02 14:18 ` Arnout Vandecappelle
2016-07-04 10:36 ` Luca Ceresoli
2016-07-05 9:21 ` Arnout Vandecappelle
2016-07-16 20:32 ` Luca Ceresoli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160702144807.GO22343@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox