RE: Recursive makefiles for module spanning over multiple dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux