fix version for x.x.x.x releases

Signed-off-by: Gwenhael Le moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le moine 2011-03-26 16:23:15 +07:00
parent 5b2dbef7a3
commit 5409bd6507

View file

@ -59,7 +59,7 @@ make $NUMJOBS
make modules_install INSTALL_MOD_PATH=$PKG
KERNEL_TAG=$(grep "CONFIG_LOCALVERSION=" .config | sed 's|CONFIG_LOCALVERSION=||' | tr -d \" )
KERNEL_VERSION=$(grep -o "2\.6\.[0-9a-z\-]*" .config)$KERNEL_TAG
KERNEL_VERSION=$(grep -o "2\.6\.[0-9a-z\-\.]*" .config)$KERNEL_TAG
mkdir -p $PKG/boot/$KERNEL_VERSION
cp .config System.map arch/x86/boot/bzImage $PKG/boot/$KERNEL_VERSION