[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, sysvinit, updated. clfs-2.1.0-1167-ga00e1cc

git git at cross-lfs.org
Fri May 30 20:31:24 PDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, sysvinit has been updated
       via  a00e1cc0c65cfc435a9d9dfa225d1118aaf3a4e3 (commit)
      from  786babf658ad32bf4427e5a3f7abf6185446e012 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a00e1cc0c65cfc435a9d9dfa225d1118aaf3a4e3
Author: William Harrington <kb0iic at cross-lfs.org>
Date:   Fri May 30 22:31:06 2014 -0500

    Add --host={CLFS_TARGET} during Cross tools pkg-config configure so that the <host-triplet>-pkg-config file installed to /cross-tools/bin is named properly for when cross-compiling in temp-system. Make and Util-Linux, for example, will look for <triplet>-pkg-config based on the running host (x86_64, etc) and will look for x86_64-pkg-config on the host rather than use /cross-tools/bin/pkg-config or /cross-tools/bin/{CLFS_TARGET}-pkg-config. This will fix that.

diff --git a/BOOK/cross-tools/common/pkg-config-lite.xml b/BOOK/cross-tools/common/pkg-config-lite.xml
index 0f56a4a..0cb9374 100644
--- a/BOOK/cross-tools/common/pkg-config-lite.xml
+++ b/BOOK/cross-tools/common/pkg-config-lite.xml
@@ -34,7 +34,7 @@
 
     <para os="b">Prepare Pkg-config-lite for compilation:</para>
 
-<screen os="c"><userinput>./configure --prefix=/cross-tools \
+<screen os="c"><userinput>./configure --prefix=/cross-tools --host=${CLFS_TARGET}\
     --with-pc-path=/tools/lib/pkgconfig:/tools/share/pkgconfig</userinput></screen>
 
     <variablelist os="d">
@@ -49,6 +49,16 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>--host=${CLFS_TARGET}</parameter></term>
+        <listitem>
+          <para>This option makes sure the installation includes the proper
+          <command>{$CLFS_TARGET}-pkg-config</command> to be detected and used
+          when cross-compiling some tools in the temporary system and boot
+          chapter.</para> 
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para os="e">Compile the package:</para>
diff --git a/BOOK/cross-tools/multilib/pkg-config-lite.xml b/BOOK/cross-tools/multilib/pkg-config-lite.xml
index 65babc1..2dc1c30 100644
--- a/BOOK/cross-tools/multilib/pkg-config-lite.xml
+++ b/BOOK/cross-tools/multilib/pkg-config-lite.xml
@@ -30,7 +30,7 @@
     href="../common/pkg-config-lite.xml"
     xpointer="xpointer(//*[@os='b'])"/>
 
-<screen os="c"><userinput>./configure --prefix=/cross-tools \
+<screen os="c"><userinput>./configure --prefix=/cross-tools --host=${CLFS_TARGET} \
     --with-pc-path=/tools/lib64/pkgconfig:/tools/share/pkgconfig</userinput></screen>
 
     <variablelist os="d">
@@ -45,6 +45,16 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>--host=${CLFS_TARGET}</parameter></term>
+        <listitem>
+          <para>This option makes sure the installation includes the proper
+          <command>{$CLFS_TARGET}-pkg-config</command> to be detected and used
+          when cross-compiling some tools in the temporary system and boot
+          chapter.</para> 
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index d5d0eb8..7bcca76 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -37,6 +37,16 @@
 -->
 
     <listitem>
+      <para>30 May 2014</para>
+      <itemizedlist>
+        <listitem>
+          <para>[William Harrington] - Add --host=${CLFS_TARGET} during
+          cross-tools Pkg-config configure..</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>29 May 2014</para>
       <itemizedlist>
         <listitem>

-----------------------------------------------------------------------

Summary of changes:
 BOOK/cross-tools/common/pkg-config-lite.xml   |   12 +++++++++++-
 BOOK/cross-tools/multilib/pkg-config-lite.xml |   12 +++++++++++-
 BOOK/introduction/common/changelog.xml        |   10 ++++++++++
 3 files changed, 32 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list