build: ensure PKG_INFO_DIR exists before trying to use it
authorJonas Gorski <jonas.gorski@gmail.com>
Sat, 28 Oct 2017 09:19:25 +0000 (11:19 +0200)
committerJonas Gorski <jonas.gorski@gmail.com>
Sat, 28 Oct 2017 09:19:25 +0000 (11:19 +0200)
PKG_INFO_DIR is only created at the finish step of the first package
build, but kernel modules now use it at the start. Doing a parallel build
could cause a kernel module to be the first package, breaking the build.

Fix this by ensuring the directory exists.

Fixes: 2e496876c60c ("kernel: collect module symvers for external modules")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

No differences found