sdk: predefine kernel version magic
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 17 Sep 2014 11:01:24 +0000 (11:01 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 17 Sep 2014 11:01:24 +0000 (11:01 +0000)
commit67271d4aeacd283f2d45dc21f5f73c7e975a8782
tree8b8a8503506a846ef274942d6a148644624ecc5b
parent5d7d89584502e9407ae9009ad2d2a7c29d2344ff
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