diff options
Diffstat (limited to 'libre/xtensa-unknown-elf-linux-libre-api-headers')
-rw-r--r-- | libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD b/libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD index e27c1ba35..23dada50b 100644 --- a/libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD +++ b/libre/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD @@ -5,15 +5,15 @@ # toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc export ARCH=xtensa _target=xtensa-unknown-elf -_sysroot="/usr/${_target}" +_sysroot="usr/$CHOST/${_target}" pkgname=${_target}-linux-libre-api-headers _basekernel=3.8 _sublevel=4 pkgver=${_basekernel}.${_sublevel} pkgrel=1 -pkgdesc="Kernel headers sanitized for use in userspace" -arch=('i686' 'x86_64') +pkgdesc="Kernel headers sanitized for use in userspace for Xtensa processors" +arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/libc" license=('GPL2') provides=("${_target}-linux-api-headers=${pkgver}") @@ -37,11 +37,11 @@ build() { package() { cd ${srcdir}/linux-${_basekernel} - make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot}/usr headers_install + make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}/${_sysroot} headers_install # use headers from libdrm - rm -r ${pkgdir}${_sysroot}/usr/include/drm - + rm -r ${pkgdir}/${_sysroot}/include/drm + # clean-up unnecessary files generated during install find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete } |