sdk: predefine kernel version magic
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 17 Sep 2014 10:25:47 +0000 (10:25 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 17 Sep 2014 10:25:47 +0000 (10:25 +0000)
commitd0394e5c7c0189815ff8440c29ce3e4e55470986
tree4138d1ffb14c96aa204e698f12a738ee2a54866d
parentb527d33e95a46464687488b2e9e0bedce31c17ee
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