cubieboard2-kernel: switch to a custom config (saves +100MB approx).

This commit is contained in:
Juan RP 2014-01-26 18:58:16 +01:00
parent cff722f2e7
commit 6bde9eeab6
2 changed files with 3664 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@ _gitshort="${_githash:0:7}"
pkgname=cubieboard2-kernel
version=3.4.75
revision=1
revision=2
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kernel.org"
license="GPL-2"
@ -41,8 +41,13 @@ do_configure() {
fi
unset LDFLAGS
# Use upstream default configuration, no need to maintain ours.
make ${makejobs} ${_args} ARCH=arm sun7i_defconfig
if [ -f ${FILESDIR}/config ]; then
cp ${FILESDIR}/config .config
make ${makejobs} ${_args} ARCH=arm oldconfig
else
# Use upstream default configuration, too huge!
make ${makejobs} ${_args} ARCH=arm sun7i_defconfig
fi
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config