From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Yang Date: Thu, 20 Feb 2020 08:45:00 +0800 Subject: [LTP] [PATCH] cleanup: avoid to generate many redundant obj files In-Reply-To: <20200219134055.GA10791@rei> References: <20200218115918.32203-1-liwang@redhat.com> <0774e1e5-c326-e4aa-8c74-45de61d8276b@163.com> <701290c2-4cd6-154a-d400-7479c57ec910@163.com> <20200219134055.GA10791@rei> Message-ID: <5E4DD68C.40201@cn.fujitsu.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it On 2020/2/19 21:40, Cyril Hrubis wrote: > Hi! >> The root cause is that libswapon.c is built as an object >> file(libswapon.o) instead of a library file(libswapon.so/libswapon.a). >> >> Sorry, I just feel strange about the left *.o files. > Given that the library is used in both swapon and swapoff tests we may > as well move it to the toplevel libs/ directory as libltpswap, which > would simplify the Makefiles a bit. Hi Cyril, Thanks, and I will look into it as you suggested. :-) Best Regards, Xiao Yang