cubieboard2-kernel: use official sunxi kernel for cubieboard (3.4.75).

This commit is contained in:
Juan RP 2014-01-26 13:21:46 +01:00
parent fc0303107d
commit bd1a6835fe

View file

@ -1,18 +1,18 @@
# Template file for 'cubieboard2-kernel' # Template file for 'cubieboard2-kernel'
# #
# Latest commit as of 20140125 # Latest commit as of 20140126
_githash="f9128a82721d245ff8d4f34aa4a045d3462c71dc" _githash="9cfbbed3b2b098774b04553843d2f4092b8f7fe8"
_gitshort="${_githash:0:7}" _gitshort="${_githash:0:7}"
pkgname=cubieboard2-kernel pkgname=cubieboard2-kernel
version=3.4.43 version=3.4.75
revision=1 revision=1
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kernel.org" homepage="http://www.kernel.org"
license="GPL-2" license="GPL-2"
short_desc="The Linux kernel and modules for the Cubieboard2 (${version%.*} series [git ${_gitshort}])" short_desc="The Linux kernel and modules for the Cubieboard2 (${version%.*} series [git ${_gitshort}])"
distfiles="https://github.com/cubieboard2/linux-sunxi/archive/${_githash}.tar.gz" distfiles="https://github.com/linux-sunxi/linux-sunxi/archive/${_githash}.tar.gz"
checksum=24b533a59a9c0b721cbfc352880163a3eeb7580acd8756d1304ba4370f09e8f9 checksum=c9dc6689a9152f3a60459896926183cc5d04428c1a6ed44c20b3e342771b0dc1
wrksrc="linux-sunxi-${_githash}" wrksrc="linux-sunxi-${_githash}"
_kernver="${version}_${revision}" _kernver="${version}_${revision}"
@ -42,7 +42,7 @@ do_configure() {
unset LDFLAGS unset LDFLAGS
# Use upstream default configuration, no need to maintain ours. # Use upstream default configuration, no need to maintain ours.
make ${makejobs} ${_args} ARCH=arm cubieboard2_defconfig make ${makejobs} ${_args} ARCH=arm sun7i_defconfig
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version. # Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config