[LTP] [PATCH] cleanup: avoid to generate many redundant obj files

Cyril Hrubis chrubis@suse.cz
Wed Feb 19 14:40:55 CET 2020


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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list