mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/linux-zedboard to 3.12.0-1
This commit is contained in:
parent
47539e35e1
commit
59e13e20ac
3 changed files with 712 additions and 490 deletions
|
@ -4,12 +4,12 @@
|
|||
buildarch=4
|
||||
|
||||
pkgbase=linux-zedboard
|
||||
_commit=3f7c2d54957e950b3a36a251578185bfd374562c
|
||||
_commit=7ad8e6023d969336961312ef751228cbb8874752
|
||||
_srcname=linux-xlnx-${_commit}
|
||||
_kernelname=${pkgbase#linux}
|
||||
_desc="ZedBoard"
|
||||
pkgver=3.9.0
|
||||
pkgrel=2
|
||||
pkgver=3.12.0
|
||||
pkgrel=1
|
||||
arch=('armv7h')
|
||||
url="https://github.com/Xilinx/linux-xlnx"
|
||||
license=('GPL2')
|
||||
|
@ -17,8 +17,8 @@ makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'uboot-mkimage')
|
|||
options=('!strip')
|
||||
source=("https://github.com/Xilinx/linux-xlnx/archive/${_commit}.tar.gz"
|
||||
'config')
|
||||
md5sums=('7f67e0aab5c3a94486991e070968d06b'
|
||||
'2353484f4ecb64105c7c9f7e61288fb0')
|
||||
md5sums=('496a8e02c66d24a94240ba5865a7b010'
|
||||
'1aa4294abf6cbbee884fc7b06d115ad9')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_srcname}"
|
||||
|
@ -66,8 +66,8 @@ _package() {
|
|||
pkgdesc="The Linux Kernel and modules - ${_desc}"
|
||||
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
||||
optdepends=('crda: to set the correct wireless channels of your country')
|
||||
provides=('kernel26' 'linux=${pkgver}' 'aufs_friendly')
|
||||
conflicts=('linux-omap' 'linux-imx6' 'linux-armada370')
|
||||
provides=('kernel26' "linux=${pkgver}")
|
||||
conflicts=('linux-armv7' 'linux-armv7-zedboard')
|
||||
install=${pkgname}.install
|
||||
|
||||
cd "${srcdir}/${_srcname}"
|
||||
|
@ -82,7 +82,6 @@ _package() {
|
|||
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot/dtbs}
|
||||
make INSTALL_MOD_PATH="${pkgdir}" modules_install
|
||||
cp arch/$KARCH/boot/uImage "${pkgdir}/boot/uImage"
|
||||
cp arch/$KARCH/boot/dts/*.dtb "${pkgdir}/boot/dtbs"
|
||||
cp arch/$KARCH/boot/dts/zynq-zed.dtb "${pkgdir}/boot/devicetree.dtb"
|
||||
|
||||
# set correct depmod command for install
|
||||
|
@ -113,8 +112,8 @@ _package() {
|
|||
|
||||
_package-headers() {
|
||||
pkgdesc="Header files and scripts for building modules for linux kernel - ${_desc}"
|
||||
provides=('linux-headers=${pkgver}')
|
||||
conflicts=('linux-headers-omap' 'linux-headers-imx6')
|
||||
provides=("linux-headers=${pkgver}")
|
||||
conflicts=('linux-armv7-headers')
|
||||
|
||||
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -2,7 +2,7 @@
|
|||
# arg 2: the old package version
|
||||
|
||||
KERNEL_NAME=-zedboard
|
||||
KERNEL_VERSION=3.9.0-1-ARCH
|
||||
KERNEL_VERSION=3.12.0-1-ARCH
|
||||
|
||||
post_install () {
|
||||
# updating module dependencies
|
||||
|
|
Loading…
Reference in a new issue