kmu-embedded / k-hypervisor

ARM-based Hypervisor for Real-Time Embedded Systems
Other
14 stars 12 forks source link

[Makefile] Final output axf image is not generated in the first make execution with multi-thread option #26

Open igxactly opened 8 years ago

igxactly commented 8 years ago

If you run 'make -jX' - X is the number of thread you want to use - final build image does not appear because of race condition in building threads.

The final linking stage which produces binary image, runs before all the objects are ready.

Related thread on Stack Overflow: http://stackoverflow.com/questions/23814510/multi-threaded-make