kernel: properly use our version in CONFIG_LOCALVERSION.

This commit is contained in:
Juan RP 2012-07-08 18:38:21 +02:00
parent 8a9be9e3f2
commit ada8513832

View file

@ -53,9 +53,8 @@ do_configure() {
msg_normal "Defaulting to 'defconfig and allmodconfig'.\n" msg_normal "Defaulting to 'defconfig and allmodconfig'.\n"
make ${makejobs} defconfig && make ${makejobs} allmodconfig make ${makejobs} defconfig && make ${makejobs} allmodconfig
fi fi
if [ -n "${revision}" ]; then # Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
sed -i -e "s|\(LOCALVERSION\)=\"\"|\1=\"_${revision}\"|" .config sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
fi
} }
do_build() { do_build() {