cross-i686-pc-linux-gnu: change install order to get some missing headers (scsi/sg.h).
This commit is contained in:
parent
9f978c405b
commit
1873142c90
1 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ _triplet=i686-pc-linux-gnu
|
|||
_archflags="-march=i686 -mtune=generic"
|
||||
|
||||
pkgname=cross-${_triplet}
|
||||
version=0.7
|
||||
version=0.8
|
||||
revision=1
|
||||
short_desc="GNU Cross toolchain for the ${_triplet} target (binutils/gcc/glibc)"
|
||||
maintainer="Juan RP <xtraeme@gmail.org>"
|
||||
|
@ -247,10 +247,6 @@ do_install() {
|
|||
# install cross gcc
|
||||
cd ${wrksrc}/gcc-build && make DESTDIR=${DESTDIR} install
|
||||
|
||||
# install glibc for target
|
||||
cd ${wrksrc}/glibc-build && \
|
||||
make install_root=${DESTDIR}/${_CROSS_SYSROOT} install install-headers
|
||||
|
||||
# install linux API headers for MIPS
|
||||
cd ${wrksrc}/linux-${_linux_version} && \
|
||||
make ARCH=x86 INSTALL_HDR_PATH=${DESTDIR}/${_CROSS_SYSROOT}/usr \
|
||||
|
@ -259,6 +255,10 @@ do_install() {
|
|||
rm -f $(find ${DESTDIR}/${_CROSS_SYSROOT}/usr/include -name .install -or -name ..install.cmd)
|
||||
rm -rf ${DESTDIR}/${_CROSS_SYSROOT}/usr/include/drm
|
||||
|
||||
# install glibc for target
|
||||
cd ${wrksrc}/glibc-build && \
|
||||
make install_root=${DESTDIR}/${_CROSS_SYSROOT} install install-headers
|
||||
|
||||
# Remove unnecessary stuff
|
||||
rm -f ${DESTDIR}/usr/lib*/libiberty.a
|
||||
rm -rf ${DESTDIR}/usr/share
|
||||
|
|
Loading…
Reference in a new issue