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)
commit523ca61af4459defdcaadb597c8ad42b6197572f
tree4138d1ffb14c96aa204e698f12a738ee2a54866d
parent6ef77e7a794153416fb113c708f7a79143e8aed0
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>
SVN-Revision: 42590
target/sdk/Makefile