# crtbegin/crtend for VxWorks (DKM or RTP) | |
vx_crtbegin-kernel.o: $(srcdir)/config/vxcrtstuff.c | |
$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_BEGIN -c $< | |
vx_crtbegin-rtp.o: $(srcdir)/config/vxcrtstuff.c | |
$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_BEGIN -c $< -mrtp | |
vx_crtend.o: $(srcdir)/config/vxcrtstuff.c | |
$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_END -c $< | |
EXTRA_PARTS += vx_crtbegin-kernel.o vx_crtbegin-rtp.o vx_crtend.o |