jool: fix PKG_BUILD_DIR to avoid kernel ABI mismatch
authorMatthias Schiffer <redacted>
Mon, 23 Oct 2017 02:52:49 +0000 (04:52 +0200)
committerMatthias Schiffer <redacted>
Sun, 29 Oct 2017 17:36:59 +0000 (18:36 +0100)
commitdfd652ff3be7032bc90fdc836d32bb6881d42247
tree902154d0bb174e532c6d395a2985b72d7c2945c0
parent90a74ed4284adcd391c0564ae1a8ae764e425cc3
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 <redacted>
net/jool/Makefile
git clone https://git.99rst.org/PROJECT