Changeset 7cc5805 in clfs-embedded


Ignore:
Timestamp:
Oct 23, 2013, 1:09:12 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
fa71d19
Parents:
87c02db
git-author:
Andrew Bradford <andrew@…> (10/23/13 11:55:21)
git-committer:
Andrew Bradford <andrew@…> (10/23/13 13:09:12)
Message:

libc: Fix musl configure and install

Configure should use a --prefix of / such that libs install into /lib
within the sysroot. make install needs DESTDIR in order to install into
the sysroot, too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/libc.xml

    r87c02db r7cc5805  
    3232
    3333<screen os="i"><userinput>CC=${CLFS_TARGET}-gcc ./configure \
    34   --prefix=${CLFS}/cross-tools/${CLFS_TARGET} \
     34  --prefix=/ \
    3535  --target=${CLFS_TARGET} \
    3636  --enable-debug</userinput></screen>
     
    4242    <para os="l">Install the package:</para>
    4343
    44 <screen os="j"><userinput>make install</userinput></screen>
    45 
    46     <para os="k">Make the proper symlinks for the dynamic loader such that
    47       dynamically linked executables properly find the musl ld:</para>
    48 
    49 <screen os="m"><userinput>ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-arm.so.1
    50 ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-armhf.so.1
    51 ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-i386.so.1
    52 ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-mips.so.1</userinput></screen>
     44<screen os="j"><userinput>DESTDIR=${CLFS}/cross-tools/${CLFS_TARGET} make install</userinput></screen>
    5345
    5446  </sect2>
Note: See TracChangeset for help on using the changeset viewer.