sdk: predefine kernel version magic
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Sep 2014 10:25:47 +0000 (10:25 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Sep 2014 10:25:47 +0000 (10:25 +0000)
commitdfbf70b43d31cf05ff9d06c9cf2f1577f6c86e63
tree4138d1ffb14c96aa204e698f12a738ee2a54866d
parent06cbf4e0a3a58726185362d77737af0cb5a582e2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42590 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/sdk/Makefile