jool: fix PKG_BUILD_DIR to avoid kernel ABI mismatch
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 23 Oct 2017 02:52:49 +0000 (04:52 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 29 Oct 2017 17:38:59 +0000 (18:38 +0100)
commit82ef2fd773987a72678a32b862f50085c3f57d56
tree4642903475c903c6c604a100a01e5e0759820ba2
parentfee9a0aad32782376f70a25a02121ecb54a9a9f4
jool: fix PKG_BUILD_DIR to avoid kernel ABI mismatch

As jool builds a kernel module, a PKG_BUILD_DIR under KERNEL_BUILD_DIR must
be used to avoid reusing build artifacts when switching to a different
target of the same architecture. Otherwise, kernel ABI mismatches may
result, leading to an unusuable module, or build failures like the
following:

    Package kmod-jool is missing dependencies for the following libraries:
    crypto_hash.ko

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
net/jool/Makefile