blob: ef64951c90389eb73ce37d5462cddf2ac01fb25b [file] [log] [blame]
# crtbegin/crtend for VxWorks
vx_crtbegin.o: $(srcdir)/config/vxcrtstuff.c
$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_BEGIN -c $<
vx_crtend.o: $(srcdir)/config/vxcrtstuff.c
$(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_END -c $<
# We do pretty different things for kernel vs rtp modes, all
# controlled thanks to __RTP__ and (optional) multilibs.
EXTRA_PARTS += vx_crtbegin.o vx_crtend.o