kernel-rpi: use upstream bcmrpi_defconfig.
The upstream default configuration file for rpi is actively maintained and there's no point in duplicating stuff just for some options.
This commit is contained in:
parent
148ea40a94
commit
141ead10af
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,15 @@
|
||||
# Template file for 'kernel-rpi'
|
||||
#
|
||||
# Latest commit as of 20130913
|
||||
_githash="cbd6672"
|
||||
|
||||
pkgname=kernel-rpi
|
||||
version=3.6.11
|
||||
revision=5
|
||||
revision=6
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.kernel.org"
|
||||
license="GPL-2"
|
||||
short_desc="The Linux kernel and modules for the Raspberry Pi (3.6 series)"
|
||||
short_desc="The Linux kernel and modules for the Raspberry Pi (3.6 series [${_githash}])"
|
||||
|
||||
_kernver="${version}_${revision}"
|
||||
hostmakedepends="perl python kmod>=11_2 uboot-mkimage"
|
||||
@ -17,9 +20,8 @@ do_fetch() {
|
||||
url="git://github.com/raspberrypi/linux.git"
|
||||
msg_normal "Cloning from $url ...\n"
|
||||
git clone --depth 1 $url ${pkgname}-${version}
|
||||
# Latest commit as of 20130913
|
||||
cd ${pkgname}-${version}
|
||||
git checkout cbd6672
|
||||
git checkout ${_githash}
|
||||
# Remove .git directory, otherwise scripts/setkernelversion.sh
|
||||
# modifies KERNELRELEASE and appends + to it.
|
||||
rm -rf .git
|
||||
@ -35,9 +37,8 @@ do_configure() {
|
||||
cp ${FILESDIR}/boot-uncompressed.txt arch/arm/boot/
|
||||
cp ${FILESDIR}/imagetool-uncompressed.py arch/arm/boot/
|
||||
|
||||
# Copy our kernel config and update if it's needed.
|
||||
cp -f ${FILESDIR}/config .config
|
||||
make ${makejobs} ${_args} ARCH=arm oldconfig
|
||||
# Use upstream default configuration, no need to maintain ours.
|
||||
make ${makejobs} ${_args} ARCH=arm bcmrpi_defconfig
|
||||
|
||||
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
||||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
|
||||
@ -164,7 +165,7 @@ do_install() {
|
||||
kernel-headers-rpi_package() {
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
short_desc="Linux kernel headers for the RaspberryPI (3.6 series)"
|
||||
short_desc="Linux kernel headers for the RaspberryPI (3.6 series [${_githash}])"
|
||||
pkg_install() {
|
||||
vmove usr/src
|
||||
vmove usr/lib/modules/${_kernver}/build
|
||||
|
Loading…
Reference in New Issue
Block a user