mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
install platform-specific headerfiles
This commit is contained in:
parent
262f7fe34c
commit
0e8f32dee5
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ package_linux-headers-imx5() {
|
||||||
# copy arch includes for external modules
|
# copy arch includes for external modules
|
||||||
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH
|
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH
|
||||||
cp -a arch/$KARCH/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
|
cp -a arch/$KARCH/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
|
||||||
|
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/plat-mxc
|
||||||
|
cp -a arch/$KARCH/plat-mxc/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/plat-mxc/
|
||||||
|
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-imx
|
||||||
|
cp -a arch/$KARCH/mach-imx/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-imx/
|
||||||
|
|
||||||
# copy files necessary for later builds, like nvidia and vmware
|
# copy files necessary for later builds, like nvidia and vmware
|
||||||
cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
|
cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
|
||||||
|
|
Loading…
Reference in a new issue