Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1C63BE00B57; Wed, 14 Jun 2017 05:13:25 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E1014E00B47 for ; Wed, 14 Jun 2017 05:13:21 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2017 05:13:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,340,1493708400"; d="scan'208";a="114797372" Received: from linux.intel.com ([10.54.29.200]) by fmsmga006.fm.intel.com with ESMTP; 14 Jun 2017 05:13:20 -0700 Received: from mbabyjoh-desk.fi.intel.com (mbabyjoh-desk.fi.intel.com [10.237.72.84]) by linux.intel.com (Postfix) with ESMTP id 26DA65804B6; Wed, 14 Jun 2017 05:13:18 -0700 (PDT) From: "Maxin B. John" To: yocto@yoctoproject.org Date: Wed, 14 Jun 2017 15:12:56 +0300 Message-Id: <1497442376-42554-1-git-send-email-maxin.john@intel.com> X-Mailer: git-send-email 2.4.0 Cc: srifenbark@gmail.com Subject: [PATCH] documentation: updates to static library support in SDK X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 12:13:25 -0000 For development purposes, static libraries need to be present only in the SDK. We do not need those static libraries in the image for most scenarios. So, replace IMAGE_INSTALL with TOOLCHAIN_TARGET_TASK in the documentation. Suggested-by: Anders Darander Signed-off-by: Maxin B. John --- documentation/adt-manual/adt-prepare.xml | 8 ++++---- documentation/sdk-manual/sdk-appendix-obtain.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/documentation/adt-manual/adt-prepare.xml b/documentation/adt-manual/adt-prepare.xml index 65df1d0..7587305 100644 --- a/documentation/adt-manual/adt-prepare.xml +++ b/documentation/adt-manual/adt-prepare.xml @@ -684,16 +684,16 @@ By default, this toolchain does not build static binaries. If you want to use the toolchain to build these types of libraries, - you need to be sure your image has the appropriate static + you need to be sure your SDK has the appropriate static development libraries. Use the - IMAGE_INSTALL + TOOLCHAIN_TARGET_TASK variable inside your local.conf file to - install the appropriate library packages. + include the appropriate library packages in SDK. Following is an example using glibc static development libraries: - IMAGE_INSTALL_append = " glibc-staticdev" + TOOLCHAIN_TARGET_TASK_append = " glibc-staticdev" diff --git a/documentation/sdk-manual/sdk-appendix-obtain.xml b/documentation/sdk-manual/sdk-appendix-obtain.xml index 3156f77..86e0eff 100644 --- a/documentation/sdk-manual/sdk-appendix-obtain.xml +++ b/documentation/sdk-manual/sdk-appendix-obtain.xml @@ -96,16 +96,16 @@ By default, this toolchain does not build static binaries. If you want to use the toolchain to build these types of - libraries, you need to be sure your image has the + libraries, you need to be sure your SDK has the appropriate static development libraries. Use the - IMAGE_INSTALL + TOOLCHAIN_TARGET_TASK variable inside your local.conf file - to install the appropriate library packages. + to install the appropriate library packages in SDK. Following is an example using glibc static development libraries: - IMAGE_INSTALL_append = " glibc-staticdev" + TOOLCHAIN_TARGET_TASK_append = " glibc-staticdev" -- 2.4.0