cubieboard2-kernel: switch to a custom config (saves +100MB approx).
This commit is contained in:
parent
cff722f2e7
commit
6bde9eeab6
3656
srcpkgs/cubieboard2-kernel/files/config
Normal file
3656
srcpkgs/cubieboard2-kernel/files/config
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ _gitshort="${_githash:0:7}"
|
|||||||
|
|
||||||
pkgname=cubieboard2-kernel
|
pkgname=cubieboard2-kernel
|
||||||
version=3.4.75
|
version=3.4.75
|
||||||
revision=1
|
revision=2
|
||||||
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"
|
||||||
@ -41,8 +41,13 @@ do_configure() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
unset LDFLAGS
|
unset LDFLAGS
|
||||||
# Use upstream default configuration, no need to maintain ours.
|
if [ -f ${FILESDIR}/config ]; then
|
||||||
make ${makejobs} ${_args} ARCH=arm sun7i_defconfig
|
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.
|
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user