[Buildroot] [PATCH v4 2/9] pkg-cmake: install CMake files as part of a package

Peter Korsgaard peter at korsgaard.com
Sun Mar 25 15:37:21 UTC 2018

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > Currently, the toolchainfile.cmake and Buildroot.cmake files are
 > installed outside of any package, just triggered by the toolchain
 > target.

 > As part of the per-package SDK effort, we are trying to avoid anything
 > that installs to the global $(HOST_DIR), and this is one of the
 > remaining files installed in $(HOST_DIR) outside of any package. We
 > fix this by installing such files as part of the toolchain package
 > post-install staging hooks.

 > Yes, a post-install staging hook to install things to $(HOST_DIR) is a
 > bit weird, but the toolchain infrastructure is made of target packages
 > only, and they all install a lot of stuff to $(HOST_DIR) already.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
 > Reviewed-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
 > ---
 > Changes since v3:
 >  - Added Reviewed-by from Yann
 > Changes since v2:
 >  - None
 > Changes since v1:
 >  - New patch

Committed, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list