git-kernel: $(SUBDIR) should always be $(LINUX_VERSION)
authorMirko Vogt <mirko-openwrt@nanl.de>
Wed, 18 Jan 2017 13:36:45 +0000 (14:36 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 19 Jan 2017 11:34:04 +0000 (12:34 +0100)
commitc76da7757323d268b394cbda2e4748eedbb2496a
tree6334148f8a4dfe42020fadc614124b6bacfcadd6
parent29a4a17f55e1c6ef8c50370766160a92233813b5
git-kernel: $(SUBDIR) should always be $(LINUX_VERSION)

Before SUBDIR was set to $(PATCHVER) which may
or may not include the minor version number of
the linux kernel version. Usually it doesn't.

So the git-clone'd linux kernel was packed without
the minor version number taken into account, which
broke further processing, as it expected the
extracted dir being named linux-$(LINUX_VERSION)
(=with minor version) rather than linux-$(PATCHVER)
(=without minor version).

Changing SUBDIR to $(LINUX_VERSION) creates
consistent behaviour here.

Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
include/kernel-build.mk