cubieboard2-kernel: renamed to sun7i-kernel (shared by all sun7i platforms).

This commit is contained in:
Juan RP 2015-01-19 14:30:54 +01:00
parent 7d40dc49db
commit 1157ce462d
4 changed files with 7 additions and 7 deletions

View file

@ -1 +0,0 @@
cubieboard2-kernel

View file

@ -0,0 +1 @@
sun7i-kernel

View file

@ -1,16 +1,16 @@
# Template file for 'cubieboard2-kernel'
# Template file for 'sun7i-kernel'
#
# Latest commit as of 20141009
_githash="0c7986b137afd15670df1f66c83031a2c5d7b10c"
_gitshort="${_githash:0:7}"
pkgname=cubieboard2-kernel
pkgname=sun7i-kernel
version=3.4.103
revision=1
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kernel.org"
license="GPL-2"
short_desc="The Linux kernel and modules for the Cubieboard2 (${version%.*} series [git ${_gitshort}])"
short_desc="Linux kernel for sun7i (${version%.*} series [git ${_gitshort}])"
distfiles="https://github.com/linux-sunxi/linux-sunxi/archive/${_githash}.tar.gz"
checksum=fb836df43e0f981ed33a18b4b8009360d6cbb5695f378ccb4b2d9fb30d310ca3
@ -20,7 +20,7 @@ _kernver="${version}_${revision}"
nostrip=yes
noverifyrdeps=yes
only_for_archs="armv7l"
hostmakedepends="perl python kmod>=11_2 uboot-mkimage libressl-openssl elfutils bc"
hostmakedepends="perl python kmod>=11_2 uboot-mkimage libressl-openssl bc"
makedepends="ncurses-devel"
triggers="kernel-hooks"
# These files could be modified when an external module is built.
@ -158,10 +158,10 @@ do_install() {
depmod -b ${DESTDIR}/usr -F System.map ${_kernver}
}
cubieboard2-kernel-headers_package() {
sun7i-kernel-headers_package() {
nostrip=yes
noverifyrdeps=yes
short_desc="Linux kernel headers for the Cubieboard2 (${version%.*} series [${_gitshort}])"
short_desc="Linux kernel headers for sun7i (${version%.*} series [${_gitshort}])"
pkg_install() {
vmove usr/src
vmove usr/lib/modules/${_kernver}/build