Changeset 5c5a010


Ignore:
Timestamp:
03/18/2006 12:40:33 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
582feec
Parents:
389fe2a
Message:

Fixed the cd to Gettext sources in uClibc build.
Fixed the chapter5_Makefiles code.

Location:
HLFS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • HLFS/hlfs.xsl

    r389fe2a r5c5a010  
    194194                contains(string(),'distclean') or
    195195                contains(string(),'dummy'))"/>
     196      <!-- For uClibc we need to cd to the Gettext package -->
     197      <xsl:when test="contains(string(),'cd gettext-runtime/')">
     198        <xsl:text>cd ../gettext-*/gettext-runtime</xsl:text>
     199        <xsl:value-of select="substring-after(string(),'gettext-runtime')"/>
     200        <xsl:text>&#xA;</xsl:text>
     201      </xsl:when>
    196202      <!-- Fixing toolchain test suites run -->
    197203      <xsl:when test="string() = 'make check' or
  • HLFS/master.sh

    r389fe2a r5c5a010  
    101101  else
    102102    TARGET="tools-linux-gnu";    LOADER="ld-linux.so.2"
    103     fi
    104 
    105   # 022-
    106   # If /home/hlfs is already present in the host, we asume that the
    107   # hlfs user and group are also presents in the host, and a backup
     103  fi
     104
     105  # NOTE: We use the lfs username and groupname also in HLFS
     106  # If /home/lfs is already present in the host, we asume that the
     107  # lfs user and group are also presents in the host, and a backup
    108108  # of their bash init files is made.
    109109(
     
    181181        # Test if the stripping phase must be skipped
    182182      *stripping* ) [[ "$STRIP" = "0" ]] && continue ;;
    183         # Select the appropriate library
    184       *glibc*)    [[ ${MODEL} = "uclibc" ]] && continue ;;
    185       *uclibc*)   [[ ${MODEL} = "glibc" ]]  && continue ;;
    186183      *) ;;
    187184    esac
     
    195192    name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@' -e 's@-cross@@' -e 's@-headers@@'`
    196193
    197     # >>>>>>>>>> U G L Y <<<<<<<<<
    198     # Adjust 'name' and patch a few scripts on the fly..
     194    # Adjust 'name'
    199195    case $name in
    200       linux-libc) name=linux-libc-headers
    201       ;;
    202       uclibc) # this sucks as method to deal with gettext/libint inside uClibc
    203         sed 's@^cd gettext-runtime@cd ../gettext-*/gettext-runtime@' -i chapter05/$this_script
    204       ;;
    205      gcc) # to compensate for the compiler test inside gcc (which fails), disable error trap
    206         sed 's@^gcc -o test test.c@set +e; gcc -o test test.c@' -i chapter05/$this_script
    207       ;;
     196      linux-libc) name=linux-libc-headers ;;
    208197    esac
    209198
Note: See TracChangeset for help on using the changeset viewer.