core/linux-olinuxino to 3.7.2-5

This commit is contained in:
Kevin Mihelich 2014-01-08 21:24:47 +00:00
parent 046a99c364
commit 23385eae33

View file

@ -9,11 +9,11 @@ pkgname=('linux-olinuxino' 'linux-headers-olinuxino')
_kernelname=${pkgname#linux} _kernelname=${pkgname#linux}
_basekernel=3.7 _basekernel=3.7
pkgver=${_basekernel}.2 pkgver=${_basekernel}.2
pkgrel=4 pkgrel=5
arch=('arm') arch=('arm')
url="http://www.kernel.org/" url="http://www.kernel.org/"
license=('GPL2') license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage') makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage' 'kmod' 'inetutils')
options=('!strip') options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_basekernel}.tar.xz" source=("http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_basekernel}.tar.xz"
"ftp://ftp.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.bz2" "ftp://ftp.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.bz2"
@ -91,7 +91,7 @@ build() {
package_linux-olinuxino() { package_linux-olinuxino() {
pkgdesc="The Linux Kernel and modules - i.MX233 OLinuXino" pkgdesc="The Linux Kernel and modules - i.MX233 OLinuXino"
depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.16' 'mkinitcpio>=0.7' 'uboot-olinuxino') depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.16' 'mkinitcpio>=0.7' 'uboot-olinuxino>=2013.10')
optdepends=('crda: to set the correct wireless channels of your country') optdepends=('crda: to set the correct wireless channels of your country')
provides=('kernel26' 'linux=${pkgver}') provides=('kernel26' 'linux=${pkgver}')
conflicts=('kernel26-olinuxino') conflicts=('kernel26-olinuxino')
@ -104,12 +104,12 @@ package_linux-olinuxino() {
# get kernel version # get kernel version
_kernver="$(make kernelrelease)" _kernver="$(make kernelrelease)"
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot/dtbs}
make INSTALL_MOD_PATH="${pkgdir}" modules_install make INSTALL_MOD_PATH="${pkgdir}" modules_install
# install uImage and DTB # install uImage and DTB
cp arch/$KARCH/boot/uImage "${pkgdir}/boot/uImage" cp arch/$KARCH/boot/uImage "${pkgdir}/boot/uImage"
cp arch/$KARCH/boot/imx23-olinuxino.dtb "${pkgdir}/boot/imx23-olinuxino.dtb" cp arch/$KARCH/boot/imx23-olinuxino.dtb "${pkgdir}/boot/dtbs/imx23-olinuxino.dtb"
# set correct depmod command for install # set correct depmod command for install
sed \ sed \