Hi,
no idea what is going wrong, when i include the output path in obj-m variable? 

obj-m := out/alex.o                                              <-- works not 
under 3.18 but in older versions
out/alex-y := internal/src/sm36502_uio.o 

obj-m := alex.o                                                       <-- works
alex-y := internal/src/sm36502_uio.o

I found a diff in /scripts/Makefile.build 

$(multi-used-m): FORCE                                             <- kernel 
3.18
$(multi-used-m) : %.o: $(multi-objs-m) FORCE <- kernel 3.17.8

I'm not sure but the dependencies are lost??? 

When I set $(multi-used-m): FORCE  to  $(multi-used-m) : %.o: $(multi-objs-m) 
FORCE in the 3.18/scripts/makefile.build, all my external modules make files 
are lucky.

I hope that helps to find out what is going wrong and we find a solution how I 
can use a outputdir in the obj-m variable.

---
Alexander 

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to