diff --git a/core/linux-am33x/PKGBUILD b/core/linux-am33x/PKGBUILD index 4159b2a7a..1ef3a953a 100644 --- a/core/linux-am33x/PKGBUILD +++ b/core/linux-am33x/PKGBUILD @@ -8,7 +8,7 @@ _srcname=linux-3.14 _kernelname=${pkgbase#linux} _desc="TI AM335x Beaglebone (Black)" pkgver=3.14.2 -pkgrel=1 +pkgrel=2 rcnrel=bone2 arch=('armv7h') url="http://www.kernel.org/" @@ -158,13 +158,12 @@ _package-headers() { cp -a include/${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/include/" done - # copy arch includes for external modules - mkdir -p ${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/mach-omap2 - cp -a arch/$KARCH/mach-omap2/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-omap2/ - mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/plat-omap - cp -a arch/$KARCH/plat-omap/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/plat-omap/ + mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH + cp -a arch/$KARCH/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/ + mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/mach-omap2 + cp -a arch/$KARCH/mach-omap2/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/mach-omap2/ + mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/plat-omap + cp -a arch/$KARCH/plat-omap/include ${pkgdir}/usr/lib/modules/${_kernver}/build/arch/$KARCH/plat-omap/ # copy files necessary for later builds, like nvidia and vmware cp Module.symvers "${pkgdir}/usr/lib/modules/${_kernver}/build"