cubieboard2-kernel: switch to a custom config (saves +100MB approx).
This commit is contained in:
parent
cff722f2e7
commit
6bde9eeab6
File diff suppressed because it is too large
Load Diff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue