cross-arm-linux-gnueabihf: install linux arm headers not mips.
This commit is contained in:
parent
573130e69c
commit
f3d532c23a
|
@ -12,7 +12,7 @@ _fpuflags="--with-float=hard"
|
|||
_archflags="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||
|
||||
pkgname=cross-${_triplet}
|
||||
version=0.4
|
||||
version=0.5
|
||||
revision=1
|
||||
short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)"
|
||||
maintainer="pancake <pancake@nopcode.org>"
|
||||
|
@ -363,7 +363,7 @@ do_install() {
|
|||
|
||||
# install linux API headers for MIPS
|
||||
cd ${wrksrc}/linux-${_linux_version} && \
|
||||
make ARCH=mips INSTALL_HDR_PATH=${DESTDIR}/usr/${_CROSS_TARGET}/usr \
|
||||
make ARCH=arm INSTALL_HDR_PATH=${DESTDIR}/usr/${_CROSS_TARGET}/usr \
|
||||
headers_install
|
||||
rm -f $(find ${DESTDIR}/usr/${_CROSS_TARGET}/usr/include -name .install -or -name ..install.cmd)
|
||||
rm -rf ${DESTDIR}/usr/${_CROSS_TARGET}/usr/include/drm
|
||||
|
|
Loading…
Reference in New Issue