HOST_FOO_SUPPORTS_IN_SOURCE_BUILD set whenįOO_SUPPORTS_IN_SOURCE_BUILD is already set. When in-srctree build is forbidden, it is for both target and host > + > +* By adding +LIBFOO_SUPPORTS_IN_SOURCE_BUILD = no+ when a package > + prevents doing an in-source-tree build. However, using this method should be restricted > to very specific cases. > Signed-off-by: Gwenhael Goavec-Merou > - > Changes v4 -> v5: > * Instead of overloading BUILDDIR uses a variable to set if package is compiled > in-source-tree or not > * update again manual > Changes v2 -> v3: > * Update docs to add detail about LIBFOO_BUILDDIR > Changes v1 -> v2: > * Allow to overload $(2)_BUILDDIR instead of adding a new variable and test > - > docs/manual/adding-packages-cmake.txt | 3 +++ > package/pkg-cmake.mk | 11 +++++++++- > 2 files changed, 12 insertions(+), 2 deletions(-) > diff -git a/docs/manual/adding-packages-cmake.txt b/docs/manual/adding-packages-cmake.txt > index d92b209.0d4f2fa 100644 > - a/docs/manual/adding-packages-cmake.txt > +++ b/docs/manual/adding-packages-cmake.txt > -146,3 +146,6 possible to customize what is done in any particular step: > +LIBFOO_CONFIGURE_CMDS+ variable, it will be used instead of the > default CMake one. This patch add a new > variable to specify, if needed, the name of a sub-directory used to compile. > From: Gwenhael Goavec-Merou > For some cmake based packages, like GNURadio, it's forbidden to do the > compilation directly in the sources directory. On Tue, at 7:24 PM, Gwenhael Goavec-Merou List-Id: Discussion and development of buildroot Ĭontent-Type: text/plain charset="us-ascii" Subject: pkg-cmake: allow to build package in a ![]() ![]() Received: from (unknown )īy (Postfix) with ESMTP id A3D824B028B Received: from ( )īy (Postfix) with ESMTPS id D9AC1917B0 ![]() X-Original-To: from (īy (Postfix) with ESMTP id 2523C1C1E80īy (Postfix) with ESMTP id 1D84A8AF94 Received: from ( )īy (Postfix) with ESMTP id B2BA795176 Received: from ()īy localhost (. ) (amavisd-new, port 10024) Received: from localhost (localhost )īy (Postfix) with ESMTP id C249E9512E ![]() X-Original-To: from ( )īy (Postfix) with ESMTP id 4179B140079
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |