core/linux-raspberrypi: variable fixes

This commit is contained in:
Kevin Mihelich 2013-11-22 01:51:15 +00:00
parent e7eea10c5e
commit 76d0dd6634

View file

@ -4,7 +4,8 @@
buildarch=18
pkgbase=linux-raspberrypi
_srcname=linux
_commit=b49aafd02fa7572d387acd34550beea5b4c3d239
_srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="Raspberry Pi"
pkgver=3.10.19
@ -14,7 +15,6 @@ url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'uboot-mkimage' 'git' 'python2' 'bc')
options=('!strip')
_commit=b49aafd02fa7572d387acd34550beea5b4c3d239
source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz"
'config'
'change-default-console-loglevel.patch'
@ -31,7 +31,7 @@ md5sums=('4237274a251abbe779d1254f65d65456'
'SKIP')
prepare() {
cd "${srcdir}/linux-${_commit}"
cd "${srcdir}/${_srcname}"
# Set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
@ -63,7 +63,7 @@ prepare() {
}
build() {
cd "${srcdir}/linux-${_commit}"
cd "${srcdir}/${_srcname}"
# get kernel version
make prepare
@ -101,7 +101,7 @@ _package() {
conflicts=('kernel26' 'linux')
install=${pkgname}.install
cd "${srcdir}/linux-${_commit}"
cd "${srcdir}/${_srcname}"
KARCH=arm
@ -153,7 +153,7 @@ _package-headers() {
cd "${pkgdir}/usr/lib/modules/${_kernver}"
ln -sf ../../../src/linux-${_kernver} build
cd "${srcdir}/linux-${_commit}"
cd "${srcdir}/${_srcname}"
install -D -m644 Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/Makefile"
install -D -m644 kernel/Makefile \