Il 10/06/2014 17:08, tal zilcer ha scritto:
Trace/generated*.o files depends on trace/generated*.la
files($(libcacard-obj-y): | $(libcacard-lobj-y))
Also util depends on generated-*.o files (util-obj-y += generated-events.o)
This means when libcacard.la is being build generated-*.o files can be build by
the util target.
I think you should change libcacard.la dependencies to include the o files and
not only the la files.
This should now be fixed because libcacard doesn't use trace/* anymore.
In any case, this was the logic:
- trace/generated-events.o should not be started until after
trace/generated-events.lo has been built.
- trace/generated-events.lo will also build trace/generated-events.o, so
the trace/generated-events.o rule will never be invoked.
Paolo