sdk: predefine kernel version magic
authorJohn Crispin <john@openwrt.org>
Wed, 17 Sep 2014 11:01:24 +0000 (11:01 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 17 Sep 2014 11:01:24 +0000 (11:01 +0000)
commit5b517436b2aa384de21caaf7bb83bb42bf671751
tree8b8a8503506a846ef274942d6a148644624ecc5b
parentd21e61fbe2b5decf4db15e3810f80c6bfedd2409
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

SVN-Revision: 42592
target/sdk/Makefile