build: create $(PKG_SYMVERS_DIR) if non-existent
authorSebastian Kemper <sebastian_ml@gmx.net>
Wed, 18 Nov 2020 21:58:58 +0000 (22:58 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 19 Nov 2020 17:52:15 +0000 (18:52 +0100)
commit2127accd441b1c979c8f3f56f3ad5264542e185a
tree9ed16c08be161822ab418b94c3e45f85c79f15b6
parent8134c542e2e41d1156efe2a43d81304554a90540
build: create $(PKG_SYMVERS_DIR) if non-existent

Commit 5d76065 moved the creation of the symvers directory to
include/kernel-build.mk. This is fine when building from scratch. But
when unpacking an SDK the directory doesn't exist and because the kernel
won't be built (again) this directory will not be created by the build
system, causing build failure if make tries to copy files into it.

This moves the creation of the symvers directory back into
include/kernel.mk so that the directory is created in any case.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
include/kernel-build.mk
include/kernel.mk