On Mon, Dec 19, 2022 at 10:02:42AM -0700, jim.cro...@gmail.com wrote:
> On Mon, Dec 19, 2022 at 9:37 AM wrote:
> >
> > Id like to build 2 modules (with different names)
> > from a single source file, with 2nd being dependent
> > on the 1st.
> >
> > Specifically, Ive got:
> >
On Mon, Dec 19, 2022 at 9:37 AM wrote:
>
> Id like to build 2 modules (with different names)
> from a single source file, with 2nd being dependent
> on the 1st.
>
> Specifically, Ive got:
> lib/test_dynamic_debug.c
>
> I want
> A: lib/test_dynamic_debug.ko
> B: lib/test_dynamic_debug_submod.ko
Id like to build 2 modules (with different names)
from a single source file, with 2nd being dependent
on the 1st.
Specifically, Ive got:
lib/test_dynamic_debug.c
I want
A: lib/test_dynamic_debug.ko
B: lib/test_dynamic_debug_submod.ko
I expect that the code just needs an #ifdef #else #endif