When you type "make", it's only supposed to recompile the parts of emc
that changed. However, when you change the source code to one kernel
module, the linux kernel makefiles insist on re-linking each module (I
don't understand why).
If you use the simulator (./configure --enable-simulator
--enable-run-in-place) it is very quick to rebuild after changing just
one HAL module:
% touch hal/classicladder/module_hal.c
% time make
Depending hal/classicladder/module_hal.c
make: Entering directory `/home/jepler/emc2.head/src'
Compiling realtime hal/classicladder/module_hal.c
Linking ../rtlib/classicladder_rt.so
real 0m3.344s
If you prefer to always build for realtime, I think that using 'ccache'
is a big help when the kernel makefile re-links all the modules.
Jeff
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users