On Wed, Oct 7, 2009 at 4:17 PM, Rajat Jain <[email protected]> wrote:
>
> Hi,
>
>>
>>   test-module
>>      |
>>      +-- test1
>>      |      |
>>      |      +--test1.c
>>      |      +--Makefile
>>      |
>>      +-- test2
>>      |    |
>>      |    +---test2.c
>>      |    +---Makefile
>>      |
>>      +-- Makefile
>
> I don't think this is possible out of the box. Would this work:
>
> obj-m = test.o
> test-objs := test1/test1.o test2/test2.o
>
> No need for makefiles under test1 and test2. However, only throwing
> ideas here, without a feasibility check.
>
> Thanks,
>
> Rajat
>

Why it is not possible? Just trying to understand whether it is
limited by the Linux
kernel build system or what? User space makefiles almost all the time have this
recursive nature. Any pointers?


-Leo.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to