summaryrefslogtreecommitdiff
path: root/cross/xtensa-unknown-elf-linux-libre-api-headers
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-09 17:35:59 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-09 17:35:59 -0300
commit98a222ae9c353e43c3ae018ec7c555bd8581de5d (patch)
tree840616f7d0352d21355a8de4819b42be86124d88 /cross/xtensa-unknown-elf-linux-libre-api-headers
parent237322161f12b666e9cb00bd3dab761fd46802e1 (diff)
downloadabslibre-98a222ae9c353e43c3ae018ec7c555bd8581de5d.tar.gz
abslibre-98a222ae9c353e43c3ae018ec7c555bd8581de5d.tar.bz2
abslibre-98a222ae9c353e43c3ae018ec7c555bd8581de5d.zip
removing xtensa-unknown-elf-glibc and editing path on xtensa-unknown-elf-linux-libre-api-headers
Diffstat (limited to 'cross/xtensa-unknown-elf-linux-libre-api-headers')
-rw-r--r--cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD b/cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD
index 23dada50b..5885001c0 100644
--- a/cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD
+++ b/cross/xtensa-unknown-elf-linux-libre-api-headers/PKGBUILD
@@ -5,14 +5,14 @@
# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc
export ARCH=xtensa
_target=xtensa-unknown-elf
-_sysroot="usr/$CHOST/${_target}"
+_sysroot="/usr/${_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 for Xtensa processors"
+pkgrel=1.3
+pkgdesc="Kernel headers sanitized for use in userspace for the Xtensa architecture"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libc"
license=('GPL2')
@@ -37,10 +37,10 @@ build() {
package() {
cd ${srcdir}/linux-${_basekernel}
- make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}/${_sysroot} headers_install
+ make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir} headers_install
# use headers from libdrm
- rm -r ${pkgdir}/${_sysroot}/include/drm
+ rm -r ${pkgdir}/include/drm
# clean-up unnecessary files generated during install
find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete