> On 7 January 2018 at 13:01, Nicklas Karlsson
> <nicklas.karlsso...@gmail.com> wrote:
> > Then adding source code to a subfolder into the src/hal/drivers folder they 
> > are never found by the build system. I discovered a *.so library file is 
> > built for each of the drivers. Do anybody have and idea how to add a new 
> > driver to the build system so that it get compiled together with the source?
> 
> I believe that a .comp should be found automatically, but for a .c
> file you need to add it to the Makefile
> https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile
> 
> Just choose another driver that does get compiled (such as hal_motenc)
> and replicate all the same lines in the Makefile for your driver.

Tried this but it does not compile while others do. I searched differences and 
there is some magic because my new file is not compiled while others are.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to