/[gentoo-alt]/trunk/prefix/eclass/toolchain.eclass
Gentoo

Diff of /trunk/prefix/eclass/toolchain.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1374 Revision 1375
1201 local confgcc 1201 local confgcc
1202 1202
1203 # Set configuration based on path variables 1203 # Set configuration based on path variables
1204 confgcc="${confgcc} \ 1204 confgcc="${confgcc} \
1205 --prefix=${EPREFIX}/${PREFIX} \ 1205 --prefix=${EPREFIX}/${PREFIX} \
1206 --bindir=${BINPATH} \ 1206 --bindir=${EPREFIX}/${BINPATH} \
1207 --includedir=${INCLUDEPATH} \ 1207 --includedir=${EPREFIX}/${INCLUDEPATH} \
1208 --datadir=${DATAPATH} \ 1208 --datadir=${EPREFIX}/${DATAPATH} \
1209 --mandir=${DATAPATH}/man \ 1209 --mandir=${EPREFIX}/${DATAPATH}/man \
1210 --infodir=${DATAPATH}/info \ 1210 --infodir=${EPREFIX}/${DATAPATH}/info \
1211 --with-gxx-include-dir=${STDCXX_INCDIR}" 1211 --with-gxx-include-dir=${EPREFIX}/${STDCXX_INCDIR}"
1212 1212
1213 # All our cross-compile logic goes here ! woo ! 1213 # All our cross-compile logic goes here ! woo !
1214 confgcc="${confgcc} --host=${CHOST}" 1214 confgcc="${confgcc} --host=${CHOST}"
1215 if is_crosscompile || tc-is-cross-compiler ; then 1215 if is_crosscompile || tc-is-cross-compiler ; then
1216 # Straight from the GCC install doc: 1216 # Straight from the GCC install doc:
1596 done 1596 done
1597 einfo "Installing GCC..." 1597 einfo "Installing GCC..."
1598 # Do the 'make install' from the build directory 1598 # Do the 'make install' from the build directory
1599 cd "${WORKDIR}"/build 1599 cd "${WORKDIR}"/build
1600 S=${WORKDIR}/build \ 1600 S=${WORKDIR}/build \
1601 make DESTDIR="${D}" install || die 1601 make DESTDIR="${EDEST}" install || die
1602 # Punt some tools which are really only useful while building gcc 1602 # Punt some tools which are really only useful while building gcc
1603 rm -r "${D}${LIBEXECPATH}"/install-tools 1603 rm -r "${D}${LIBEXECPATH}"/install-tools
1604 # This one comes with binutils 1604 # This one comes with binutils
1605 find "${D}" -name libiberty.a -exec rm -f {} \; 1605 find "${D}" -name libiberty.a -exec rm -f {} \;
1606 1606

Legend:
Removed from v.1374  
changed lines
  Added in v.1375

  ViewVC Help
Powered by ViewVC 1.1.20