kmod-dma-buf: fix build with external kernel
authorStijn Tintel <stijn@linux-ipv6.be>
Wed, 12 Dec 2018 20:00:44 +0000 (22:00 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Wed, 12 Dec 2018 20:15:11 +0000 (22:15 +0200)
commitbcb859235328c9de0a2e0966785f5ca61419290c
tree7c4350238130eb4ae4a51a4b15e014180470a740
parent3198ec5b9d91d001aad8c9ea462827b9ce953a5e
kmod-dma-buf: fix build with external kernel

In hack/904-debloat_dma_buf.patch, DMA_SHARED_BUFFER is changed from
bool to tristate. As this patch is not applied to external kernel
sources, build fails if kmod-dma-buf is enabled. Fix this by only
including the module file if CONFIG_EXTERNAL_KERNEL_TREE and
CONFIG_KERNEL_GIT_CLONE_URI are not enabled.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
package/kernel/linux/modules/other.mk