Re: [PATCH] dmaengine: fsl-edma: fix Makefile logic
From: Arnd Bergmann
Date: Thu Jan 11 2024 - 11:24:01 EST
On Thu, Jan 11, 2024, at 17:09, Frank Li wrote:
> On Thu, Jan 11, 2024 at 07:23:34AM +0100, Arnd Bergmann wrote:
>> On Thu, Jan 11, 2024, at 01:02, Frank Li wrote:
>
> It should be better link into same module because some debugfs and trace
> improvement are on my TODO list. Export symbols will make more unnessary
> complex.
Ok, I'll see what I can come up with
> Or simple exclude MCF_EDMA by change Kconfig
>
> config MCF_EDMA
> tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs"
> depends on !FSL_EDMA
> ^^^^^
> depends on M5441x || COMPILE_TEST
This does not actually prevent building both as modules, it
only enforces that you can't have them both enabled if one
of them is built-in.
Arnd