[LTP] [PATCH] cleanup: avoid to generate many redundant obj files
Li Wang
liwang@redhat.com
Wed Feb 19 13:20:34 CET 2020
Hi Xiao,
Why don't you avoid libftest.o as well if you want to build test by new
> rule?
That should be generated because it is the local library. In LTP Makefile,
the sequencing is to build the library first then compile&link to the
testcase. We can avoid dumping the testname.o since it only exists in the
last phase.
And, I don't want to change too much for LTP build rule(I think it works
correctly), especially in the case directory some of the local libraries
are reused. e.g The swapoff test needs linking to ../swapon/libswapon.o,
that requires libswapon.o is in the correct path.
Or, did I misunderstand your words? if yes, please correct me.
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200219/f2185e4b/attachment.htm>
More information about the ltp
mailing list