Changeset 3b3960b in clfs-embedded


Ignore:
Timestamp:
Feb 21, 2011, 4:37:57 AM (10 years ago)
Author:
Andrew Bradford <bradfa@…>
Branches:
master
Children:
e1ec8ed
Parents:
8a7de9f
Message:

ARM uClibc uses sed to change from OABI to EABI

Rather than use uClibc configs-3.patch, we previously changed back to using
configs-2.patch. This has uClibc choose OABI versus EABI for ARM based
on a sed command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/uclibc.xml

    r8a7de9f r3b3960b  
    4040   <para os="d">For the ARM architecture, there are two different configurations
    4141   of uClibc that can be used: the EABI configuration and the OABI configuration.
    42    We will copy the one that corresponds with the $CLFS_ABI choice made earlier
    43    and use that as the base:</para>
     42   We will first copy the OABI configuration and, if the EABI was selected, modify
     43   it to use the EABI:</para>
    4444
    45 <screen os="e"><userinput>if [ "${CLFS_ABI}" == "aapcs" ] || [ "${CLFS_ABI}" == "aapcs-linux" ]; \
    46 then cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN}.EABI .config; \
    47 else cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN} .config; fi</userinput></screen>
     45<screen os="e"><userinput>cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN} .config
     46if [ "${CLFS_ABI}" == "aapcs" ] || [ "${CLFS_ABI}" == "aapcs-linux" ]; \
     47then sed -i s/CONFIG_ARM_OABI/CONFIG_ARM_EABI/g .config; fi</userinput></screen>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.