sdk: predefine kernel version magic
authorJohn Crispin <blogic@openwrt.org>
Wed, 17 Sep 2014 11:01:24 +0000 (11:01 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 17 Sep 2014 11:01:24 +0000 (11:01 +0000)
commit77841ac875ffca210c2429a5e63c9c396bd38044
tree8b8a8503506a846ef274942d6a148644624ecc5b
parentbee00f907828e2fc47ed5a8ecc1069473ec223fe
sdk: predefine kernel version magic

Kernel modules which are built using the SDK do not have access
to the .vermagic file in the Linux build dir, therefore the
generated .ipk metadata depends on kernel versions like
'3.10.49-1-unknown' which are not satisfiable by the kernel
meta package in the image.

Fix this problem by substituting 'unknown' with the current
version magic in include/kernel.mk when packing the SDK.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42590

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42592 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/sdk/Makefile