mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/linux-sun4i fixes
This commit is contained in:
parent
f4c56ae54a
commit
59723111b8
2 changed files with 702 additions and 115 deletions
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: WarheadsSE <max@warheads.net>
|
||||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
buildarch=4
|
||||
|
||||
|
@ -21,17 +22,17 @@ options=('!strip')
|
|||
source=('config'
|
||||
'change-default-console-loglevel.patch'
|
||||
"linux.tar.gz::https://github.com/${_github_user}/${_github_repo}/tarball/${_github_commitID}")
|
||||
md5sums=('38bc0357948d6e060e48723d5b484af7'
|
||||
md5sums=('4119a89e3140259c68ddc792f810a61f'
|
||||
'9d3c56a4b999c8bfbd4018089a62f662'
|
||||
'ede31a7dfe6911ac05e716c92f90eba5')
|
||||
|
||||
build() {
|
||||
# wget -o ${srcdir}/linux.tgz --no-check-certificate https://github.com/${_github_user}/${_github_repo}/tarball/${_github_commitID}
|
||||
cd ${srcdir}
|
||||
# tar xzf linux.tar.gz
|
||||
# the github-commit-tarball issue results in this, rename it sanely
|
||||
mv "${_github_user}-${_github_repo}-${_github_commitID:0:7}" linux
|
||||
|
||||
cd linux
|
||||
|
||||
# add upstream patch
|
||||
#patch -p1 -i "${srcdir}/patch-${pkgver}"
|
||||
|
||||
|
@ -79,7 +80,7 @@ build() {
|
|||
}
|
||||
|
||||
package_linux-sun4i() {
|
||||
pkgdesc="The Linux Kernel and modules for sun4i"
|
||||
pkgdesc="The Linux Kernel and modules for AllWinner A10"
|
||||
depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.16')
|
||||
optdepends=('crda: to set the correct wireless channels of your country')
|
||||
provides=("kernel26-${_mach}" "linux=${_mach}")
|
||||
|
@ -130,7 +131,7 @@ package_linux-sun4i() {
|
|||
}
|
||||
|
||||
package_linux-headers-sun4i() {
|
||||
pkgdesc="Header files and scripts for building modules for linux kernel for sun4i"
|
||||
pkgdesc="Header files and scripts for building modules for linux kernel for AllWinner A10"
|
||||
provides=('kernel26-headers' "linux-headers=${pkgver}")
|
||||
conflicts=('kernel26-headers')
|
||||
replaces=('kernel26-headers')
|
||||
|
@ -161,7 +162,7 @@ package_linux-headers-sun4i() {
|
|||
|
||||
## YOUR MACH HERE, this is using the $_mach ##
|
||||
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-${_mach}
|
||||
cp -a arch/$KARCH/mach-{$_mach}/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-${_mach}/
|
||||
cp -a arch/$KARCH/mach-${_mach}/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-${_mach}/
|
||||
|
||||
# copy files necessary for later builds, like nvidia and vmware
|
||||
cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue