kernel-snapshot: properly use our version in CONFIG_LOCALVERSION.

This commit is contained in:
Juan RP 2012-07-08 18:39:51 +02:00
parent ada8513832
commit b3f6a7641f

View file

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