odroid-u2-kernel: misc tweaks (not revbumping this time).
This commit is contained in:
parent
44d31bc9aa
commit
cff722f2e7
@ -2,6 +2,7 @@
|
||||
#
|
||||
# Latest commit as of 20140123
|
||||
_githash="452f4a053d69404a1f69fd3aa4af8ee6524ab2b2"
|
||||
_gitshort="${_githash:0:7}"
|
||||
|
||||
pkgname=odroid-u2-kernel
|
||||
version=3.8.13.14
|
||||
@ -9,7 +10,7 @@ revision=2
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
homepage="http://www.kernel.org"
|
||||
license="GPL-2"
|
||||
short_desc="The Linux kernel and modules for the Odroid U2/U3 (3.12 series [git ${_githash}])"
|
||||
short_desc="The Linux kernel and modules for the Odroid U2/U3 (${version%.*} series [git ${_gitshort}])"
|
||||
create_srcdir=yes
|
||||
distfiles="https://github.com/hardkernel/linux/archive/${_githash}.tar.gz"
|
||||
checksum=b351402dda80802c006574e319f39c22ef8ca48e049d65a9224fb518d67ffa3c
|
||||
@ -68,7 +69,7 @@ do_install() {
|
||||
|
||||
vinstall arch/arm/boot/zImage 644 boot
|
||||
|
||||
hdrdest=${DESTDIR}/usr/src/odroid-u2-kernel-headers-${_kernver}
|
||||
hdrdest=${DESTDIR}/usr/src/${sourcepkg}-headers-${_kernver}
|
||||
|
||||
# Switch to /usr.
|
||||
vmkdir usr
|
||||
@ -76,7 +77,7 @@ do_install() {
|
||||
|
||||
cd ${DESTDIR}/usr/lib/modules/${_kernver}
|
||||
rm -f source build
|
||||
ln -sf ../../../src/odroid-u2-kernel-headers-${_kernver} build
|
||||
ln -sf ../../../src/${sourcepkg}-headers-${_kernver} build
|
||||
|
||||
cd ${wrksrc}
|
||||
|
||||
@ -156,7 +157,7 @@ do_install() {
|
||||
odroid-u2-kernel-headers_package() {
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
short_desc="Linux kernel headers for the Odroid U2/U3 (3.12 series [${_githash}])"
|
||||
short_desc="Linux kernel headers for the Odroid U2/U3 (${version%.*} series [${_gitshort}])"
|
||||
pkg_install() {
|
||||
vmove usr/src
|
||||
vmove usr/lib/modules/${_kernver}/build
|
||||
|
Loading…
x
Reference in New Issue
Block a user