mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
rpi-kernel: update to upstream git commit 772fa1092a (3.18.6).
This commit is contained in:
parent
48e4686654
commit
25d8cd2f6f
1 changed files with 5 additions and 7 deletions
|
@ -1,21 +1,22 @@
|
||||||
# Template file for 'rpi-kernel'
|
# Template file for 'rpi-kernel'
|
||||||
#
|
#
|
||||||
_githash="85ee3d9bd54594f61b0971f9c3655a9bff9c1b04"
|
_githash="772fa1092af0c1109890fe93a151b36c012afca1"
|
||||||
_gitshort="${_githash:0:7}"
|
_gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi-kernel
|
pkgname=rpi-kernel
|
||||||
version=3.18.5
|
version=3.18.6
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="linux-${_githash}"
|
wrksrc="linux-${_githash}"
|
||||||
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 for Raspberry Pi (${version%.*} series [git ${_gitshort}])"
|
short_desc="The Linux kernel for Raspberry Pi (${version%.*} series [git ${_gitshort}])"
|
||||||
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
|
||||||
checksum=5322de70aa7756edc773d2298ee1148ea7614f8979922b09887d7b6002e711b5
|
checksum=ed6f5c86ceffab248a55dbce1b6446a4ae21c06e6cc7a9ddefeb6c5e370a3ece
|
||||||
|
|
||||||
_kernver="${version}_${revision}"
|
_kernver="${version}_${revision}"
|
||||||
|
|
||||||
|
nodebug=yes
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
noshlibprovides=yes
|
noshlibprovides=yes
|
||||||
|
@ -42,7 +43,6 @@ pre_configure() {
|
||||||
# modifies KERNELRELEASE and appends + to it.
|
# modifies KERNELRELEASE and appends + to it.
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
||||||
|
@ -58,7 +58,6 @@ do_configure() {
|
||||||
# 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
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
|
||||||
|
@ -66,7 +65,6 @@ do_build() {
|
||||||
make ${makejobs} ${_args} ARCH=arm prepare
|
make ${makejobs} ${_args} ARCH=arm prepare
|
||||||
make ${makejobs} ${_args} ARCH=arm zImage modules dtbs
|
make ${makejobs} ${_args} ARCH=arm zImage modules dtbs
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
local hdrdest
|
local hdrdest
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue