From rules.vxWorks:
partialImage.o: $(PRJ_OBJS) version.o ....
$(LD_PARTIAL) $(PRJ_OBJS) .... -o ${@}
vxWorks: partialImage.o .....
$(LD) $(LFFLAGS) $(PRJ_OBJS) \
-defsym _VX_DATA_ALIGN=16 \
-T link.RAM \
-o ${@}
In one of my projects I separated the partialImage and vxWorks to separate dir levels, as I wanted to add few more things to the partailImage.o.
So my question is, in the vxWorks target, can i just specify the partialImage.o instead of PRJ_OBJS?
Why not the existing vxWorks rules doesn't do it that way?