* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
@ 2020-06-02 7:37 Yang Xu
2020-06-08 10:10 ` Petr Vorel
0 siblings, 1 reply; 10+ messages in thread
From: Yang Xu @ 2020-06-02 7:37 UTC (permalink / raw)
To: ltp
Use INTERNAL_LIB for ltp lib because installing these ltp static
library in any situation is meaningless.
all static library as below:
./libs/libltpuinput/libltpuinput.a
./libs/libltpnewipc/libltpnewipc.a
./libs/libltpnuma/libltpnuma.a
./libs/libltpipc/libltpipc.a
./libs/libltpipc/libltpmsgctl.a
./utils/sctp/lib/libsctp.a
./utils/sctp/testlib/libsctputil.a
./lib/libltp.a
./testcases/network/rpc/basic_tests/rpc01/lib/librpc01.a
./testcases/network/rpc/rpc-tirpc/tests_pack/lib/librpc-tirpc.a
./testcases/kernel/containers/libclone/libclone.a
./testcases/kernel/mem/hugetlb/lib/libhugetlb.a
./testcases/kernel/mem/lib/libmem.a
./testcases/kernel/controllers/libcontrollers/libcontrollers.a
./testcases/kernel/controllers/cpuset/cpuset_lib/libcpu_set.a
./testcases/kernel/lib/libkerntest.a
Also include Android_libpthread and android_librt and remove useless
libdir variable.
Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
v1->v2:
1.remove ./testcases/commands/nm/datafiles/lib.a from commit message
2.add two anroid Makefiles
3.remove useless libdir
include/mk/config.mk.in | 3 +--
include/mk/generic_leaf_target.inc | 6 ------
include/mk/lib.mk | 2 --
lib/Makefile | 2 +-
lib/android_libpthread/Makefile | 2 +-
lib/android_librt/Makefile | 2 +-
libs/libltpipc/Makefile | 2 +-
libs/libltpnuma/Makefile | 2 +-
libs/libltpuinput/Makefile | 2 +-
testcases/kernel/containers/libclone/Makefile | 2 +-
testcases/kernel/controllers/cpuset/cpuset_lib/Makefile | 2 +-
testcases/kernel/controllers/libcontrollers/Makefile | 2 +-
testcases/kernel/mem/hugetlb/lib/Makefile | 2 +-
testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile | 2 +-
utils/sctp/lib/Makefile | 2 +-
utils/sctp/testlib/Makefile | 2 +-
16 files changed, 14 insertions(+), 23 deletions(-)
diff --git a/include/mk/config.mk.in b/include/mk/config.mk.in
index 427608a17..f7b26cbd5 100644
--- a/include/mk/config.mk.in
+++ b/include/mk/config.mk.in
@@ -52,7 +52,6 @@ datarootdir := @datarootdir@
includedir := @includedir@
exec_prefix := @exec_prefix@
bindir := @bindir@
-libdir := @libdir@
mandir := @mandir@
CPPFLAGS := @CPPFLAGS@
@@ -82,4 +81,4 @@ ifeq ($(strip $(prefix)),)
$(error you are using $$(prefix) incorrectly -- set it to $(abs_top_srcdir) if you want to build in the source tree)
endif
-export datarootdir includedir libdir mandir prefix
+export datarootdir includedir mandir prefix
diff --git a/include/mk/generic_leaf_target.inc b/include/mk/generic_leaf_target.inc
index dd54d05e9..ca61ceff4 100644
--- a/include/mk/generic_leaf_target.inc
+++ b/include/mk/generic_leaf_target.inc
@@ -83,12 +83,6 @@
#
# INSTALL_DIR := /path/to/installdir/from/$(DESTDIR)
#
-# e.g. if I wanted to install my binaries in $(libdir) (which may not exist
-# outside of $(prefix) right now, but could in the future), I could do the
-# following:
-#
-# INSTALL_DIR := $(libdir)
-#
.PHONY: all clean install
diff --git a/include/mk/lib.mk b/include/mk/lib.mk
index 36e1ba17b..9d018718b 100644
--- a/include/mk/lib.mk
+++ b/include/mk/lib.mk
@@ -26,8 +26,6 @@
include $(top_srcdir)/include/mk/env_pre.mk
-INSTALL_DIR := $(libdir)
-
# An extension of generic_leaf_target, strictly for libraries.
.PHONY: install_headers
diff --git a/lib/Makefile b/lib/Makefile
index e7fc753da..f019432e8 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -32,7 +32,7 @@ else
FILTER_OUT_LIBSRCS += tlibio.c tst_safe_sysv_ipc.c
endif
-LIB := libltp.a
+INTERNAL_LIB := libltp.a
pc_file := $(DESTDIR)/$(datarootdir)/pkgconfig/ltp.pc
diff --git a/lib/android_libpthread/Makefile b/lib/android_libpthread/Makefile
index 2946d093f..441cadcb9 100644
--- a/lib/android_libpthread/Makefile
+++ b/lib/android_libpthread/Makefile
@@ -2,6 +2,6 @@ top_srcdir ?= ../..
include $(top_srcdir)/include/mk/env_pre.mk
-LIB := libpthread.a
+INTERNAL_LIB := libpthread.a
include $(top_srcdir)/include/mk/lib.mk
diff --git a/lib/android_librt/Makefile b/lib/android_librt/Makefile
index ecb1fbe6c..70d520c0a 100644
--- a/lib/android_librt/Makefile
+++ b/lib/android_librt/Makefile
@@ -2,6 +2,6 @@ top_srcdir ?= ../..
include $(top_srcdir)/include/mk/env_pre.mk
-LIB := librt.a
+INTERNAL_LIB := librt.a
include $(top_srcdir)/include/mk/lib.mk
diff --git a/libs/libltpipc/Makefile b/libs/libltpipc/Makefile
index 11f38ea0a..fadd04833 100644
--- a/libs/libltpipc/Makefile
+++ b/libs/libltpipc/Makefile
@@ -5,7 +5,7 @@ top_srcdir ?= ../..
include $(top_srcdir)/include/mk/env_pre.mk
-LIB := libltpipc.a libltpmsgctl.a
+INTERNAL_LIB := libltpipc.a libltpmsgctl.a
include $(top_srcdir)/include/mk/lib.mk
include $(top_srcdir)/include/mk/generic_leaf_target.mk
diff --git a/libs/libltpnuma/Makefile b/libs/libltpnuma/Makefile
index 56d6b7762..a6856758d 100644
--- a/libs/libltpnuma/Makefile
+++ b/libs/libltpnuma/Makefile
@@ -6,7 +6,7 @@ top_srcdir ?= ../..
include $(top_srcdir)/include/mk/env_pre.mk
-LIB := libltpnuma.a
+INTERNAL_LIB := libltpnuma.a
include $(top_srcdir)/include/mk/lib.mk
include $(top_srcdir)/include/mk/generic_leaf_target.mk
diff --git a/libs/libltpuinput/Makefile b/libs/libltpuinput/Makefile
index dd2a6c096..c72dd2e1e 100644
--- a/libs/libltpuinput/Makefile
+++ b/libs/libltpuinput/Makefile
@@ -6,7 +6,7 @@ top_srcdir ?= ../..
include $(top_srcdir)/include/mk/env_pre.mk
-LIB := libltpuinput.a
+INTERNAL_LIB := libltpuinput.a
include $(top_srcdir)/include/mk/lib.mk
include $(top_srcdir)/include/mk/generic_leaf_target.mk
diff --git a/testcases/kernel/containers/libclone/Makefile b/testcases/kernel/containers/libclone/Makefile
index d78570db7..13af52b67 100644
--- a/testcases/kernel/containers/libclone/Makefile
+++ b/testcases/kernel/containers/libclone/Makefile
@@ -22,6 +22,6 @@ top_srcdir ?= ../../../..
include $(top_srcdir)/include/mk/testcases.mk
-LIB := libclone.a
+INTERNAL_LIB := libclone.a
include $(top_srcdir)/include/mk/lib.mk
diff --git a/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile b/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
index 069ebc38c..1b6a40bea 100644
--- a/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
+++ b/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
@@ -27,6 +27,6 @@ include $(top_srcdir)/include/mk/testcases.mk
LDLIBS := -lm -lcontrollers -lltp $(LDLIBS)
-LIB := libcpu_set.a
+INTERNAL_LIB := libcpu_set.a
include $(top_srcdir)/include/mk/lib.mk
diff --git a/testcases/kernel/controllers/libcontrollers/Makefile b/testcases/kernel/controllers/libcontrollers/Makefile
index 88918cf2d..9f8955e28 100644
--- a/testcases/kernel/controllers/libcontrollers/Makefile
+++ b/testcases/kernel/controllers/libcontrollers/Makefile
@@ -24,6 +24,6 @@ top_srcdir ?= ../../../..
include $(top_srcdir)/include/mk/testcases.mk
-LIB := libcontrollers.a
+INTERNAL_LIB := libcontrollers.a
include $(top_srcdir)/include/mk/lib.mk
diff --git a/testcases/kernel/mem/hugetlb/lib/Makefile b/testcases/kernel/mem/hugetlb/lib/Makefile
index c5c55648f..2e893429d 100644
--- a/testcases/kernel/mem/hugetlb/lib/Makefile
+++ b/testcases/kernel/mem/hugetlb/lib/Makefile
@@ -21,6 +21,6 @@ top_srcdir ?= ../../../../..
include $(top_srcdir)/include/mk/env_pre.mk
include $(top_srcdir)/testcases/kernel/mem/include/libmem.mk
-LIB := libhugetlb.a
+INTERNAL_LIB := libhugetlb.a
include $(top_srcdir)/include/mk/lib.mk
diff --git a/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile b/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile
index 3563d2dc5..5a6f5d41c 100644
--- a/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile
+++ b/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile
@@ -20,6 +20,6 @@ top_srcdir ?= ../../../../../..
include $(top_srcdir)/include/mk/env_pre.mk
-LIB := librpc-tirpc.a
+INTERNAL_LIB := librpc-tirpc.a
include $(top_srcdir)/include/mk/lib.mk
diff --git a/utils/sctp/lib/Makefile b/utils/sctp/lib/Makefile
index c0cb35b4e..54438b61c 100644
--- a/utils/sctp/lib/Makefile
+++ b/utils/sctp/lib/Makefile
@@ -26,6 +26,6 @@ include $(top_srcdir)/include/mk/env_pre.mk
CPPFLAGS += -I$(abs_srcdir)/../include
-LIB := libsctp.a
+INTERNAL_LIB := libsctp.a
include $(top_srcdir)/include/mk/lib.mk
diff --git a/utils/sctp/testlib/Makefile b/utils/sctp/testlib/Makefile
index 2977f45b3..84ed02040 100644
--- a/utils/sctp/testlib/Makefile
+++ b/utils/sctp/testlib/Makefile
@@ -28,7 +28,7 @@ CPPFLAGS += -DLTP -I$(abs_srcdir)/../include
LDLIBS += -lltp -lsctp
-LIB := libsctputil.a
+INTERNAL_LIB := libsctputil.a
#
#DEPLIBDIR := ../lib
--
2.23.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
2020-06-02 7:37 [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib Yang Xu
@ 2020-06-08 10:10 ` Petr Vorel
2020-06-08 11:01 ` Yang Xu
0 siblings, 1 reply; 10+ messages in thread
From: Petr Vorel @ 2020-06-08 10:10 UTC (permalink / raw)
To: ltp
Hi Xu,
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Cyril concerned 3rd party use of lib/libltp.a, but nobody complained.
Given Jan acked v1, I'd be also for merge.
> Use INTERNAL_LIB for ltp lib because installing these ltp static
> library in any situation is meaningless.
> all static library as below:
> ./libs/libltpuinput/libltpuinput.a
> ./libs/libltpnewipc/libltpnewipc.a
> ./libs/libltpnuma/libltpnuma.a
> ./libs/libltpipc/libltpipc.a
> ./libs/libltpipc/libltpmsgctl.a
> ./utils/sctp/lib/libsctp.a
> ./utils/sctp/testlib/libsctputil.a
> ./lib/libltp.a
> ./testcases/network/rpc/basic_tests/rpc01/lib/librpc01.a
> ./testcases/network/rpc/rpc-tirpc/tests_pack/lib/librpc-tirpc.a
> ./testcases/kernel/containers/libclone/libclone.a
> ./testcases/kernel/mem/hugetlb/lib/libhugetlb.a
> ./testcases/kernel/mem/lib/libmem.a
> ./testcases/kernel/controllers/libcontrollers/libcontrollers.a
> ./testcases/kernel/controllers/cpuset/cpuset_lib/libcpu_set.a
> ./testcases/kernel/lib/libkerntest.a
nit: I'd remove './' from commit message.
Kind regards,
Petr
> Also include Android_libpthread and android_librt and remove useless
> libdir variable.
> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> ---
> v1->v2:
> 1.remove ./testcases/commands/nm/datafiles/lib.a from commit message
> 2.add two anroid Makefiles
> 3.remove useless libdir
FYI I'm still having in my mind trying dynamic library linking.
But if I ever do it I'll just re-add this variable.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
2020-06-08 10:10 ` Petr Vorel
@ 2020-06-08 11:01 ` Yang Xu
2020-06-08 11:41 ` Petr Vorel
0 siblings, 1 reply; 10+ messages in thread
From: Yang Xu @ 2020-06-08 11:01 UTC (permalink / raw)
To: ltp
Hi Petr
> Hi Xu,
>
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
>
> Cyril concerned 3rd party use of lib/libltp.a, but nobody complained.
> Given Jan acked v1, I'd be also for merge.
>
We also should include android_libpthread and android_librt Makefile.
>> Use INTERNAL_LIB for ltp lib because installing these ltp static
>> library in any situation is meaningless.
>
>> all static library as below:
>> ./libs/libltpuinput/libltpuinput.a
>> ./libs/libltpnewipc/libltpnewipc.a
>> ./libs/libltpnuma/libltpnuma.a
>> ./libs/libltpipc/libltpipc.a
>> ./libs/libltpipc/libltpmsgctl.a
>> ./utils/sctp/lib/libsctp.a
>> ./utils/sctp/testlib/libsctputil.a
>> ./lib/libltp.a
>> ./testcases/network/rpc/basic_tests/rpc01/lib/librpc01.a
>> ./testcases/network/rpc/rpc-tirpc/tests_pack/lib/librpc-tirpc.a
>> ./testcases/kernel/containers/libclone/libclone.a
>> ./testcases/kernel/mem/hugetlb/lib/libhugetlb.a
>> ./testcases/kernel/mem/lib/libmem.a
>> ./testcases/kernel/controllers/libcontrollers/libcontrollers.a
>> ./testcases/kernel/controllers/cpuset/cpuset_lib/libcpu_set.a
>> ./testcases/kernel/lib/libkerntest.a
> nit: I'd remove './' from commit message.
>
> Kind regards,
> Petr
>
>> Also include Android_libpthread and android_librt and remove useless
>> libdir variable.
>
>> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
>> ---
>> v1->v2:
>> 1.remove ./testcases/commands/nm/datafiles/lib.a from commit message
>> 2.add two anroid Makefiles
>> 3.remove useless libdir
> FYI I'm still having in my mind trying dynamic library linking.
> But if I ever do it I'll just re-add this variable.
Yes, for now, this variable is meaningless unless using dynamic libraries.
Best Regards
Yang Xu
>
> Kind regards,
> Petr
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
2020-06-08 11:01 ` Yang Xu
@ 2020-06-08 11:41 ` Petr Vorel
0 siblings, 0 replies; 10+ messages in thread
From: Petr Vorel @ 2020-06-08 11:41 UTC (permalink / raw)
To: ltp
Hi Xu,
> > Cyril concerned 3rd party use of lib/libltp.a, but nobody complained.
> > Given Jan acked v1, I'd be also for merge.
> We also should include android_libpthread and android_librt Makefile.
Not sure what you mean. You did the change in android_libpthread and
android_librt Makefile (this is v2 thread), thus I consider this patch ready.
Or am I missing something?
Kind regards,
Petr
^ permalink raw reply [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
[not found] <57a1c19e-d8e5-4389-8565-20e49f144657@G08CNEXMBPEKD05.g08.fujitsu.local>
@ 2020-06-10 1:28 ` Yang Xu
2020-06-10 8:05 ` Petr Vorel
0 siblings, 1 reply; 10+ messages in thread
From: Yang Xu @ 2020-06-10 1:28 UTC (permalink / raw)
To: ltp
Hi Petr
Nothing blocks this simple patch, I guess we can directly push this
patch(don't forget jan's acked-by).
Best Regards
Yang Xu
> Hi petr
> just reply for your ?Given Jan acked v1, I'd be also for merge?? v2 is OK.
>
> Best Regards
> Yang Xu
>
>
> ---Original---
> *From:* "Petr Vorel"<pvorel@suse.cz>
> *Date:* Mon, Jun 8, 2020 19:41 PM
> *To:* "Yang Xu"<xuyang2018.jy@cn.fujitsu.com>;
> *Cc:* "ltp"<ltp@lists.linux.it>;
> *Subject:* Re: [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
>
> Hi?Xu,
>
> >?>?Cyril?concerned?3rd?party?use?of?lib/libltp.a,?but?nobody?complained.
> >?>?Given?Jan?acked?v1,?I'd?be?also?for?merge.
>
> >??We?also?should?include?android_libpthread?and?android_librt?Makefile.
> Not?sure?what?you?mean.?You?did?the?change?in?android_libpthread?and
> android_librt?Makefile?(this?is?v2?thread),?thus?I?consider?this?patch?ready.
> Or?am?I?missing?something?
>
> Kind?regards,
> Petr
>
> --
> Mailing?list?info:?https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
2020-06-10 1:28 ` Yang Xu
@ 2020-06-10 8:05 ` Petr Vorel
2020-06-10 8:21 ` Yang Xu
2020-06-10 8:47 ` Xiao Yang
0 siblings, 2 replies; 10+ messages in thread
From: Petr Vorel @ 2020-06-10 8:05 UTC (permalink / raw)
To: ltp
Hi Xu,
> Hi Petr
> Nothing blocks this simple patch, I guess we can directly push this
> patch(don't forget jan's acked-by).
I guess you missed librealtime.a in (testcases/realtime/lib/Makefile).
Maybe removing libdir could be in separate commit, it looks to me as unrelated
change.
And you haven't replied to my question:
https://lists.linux.it/pipermail/ltp/2020-June/017495.html
But newer mind :). Maybe it's just me, but "Also include Android_libpthread and
android_librt." is not clear to me. I'd phrase it: "Also change Android_libpthread and
android_librt" (because include is ambiguous, when we're trying not to
install/include these statically linked libraries.
BTW if you ack it, I can do this changes before merge.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
2020-06-10 8:05 ` Petr Vorel
@ 2020-06-10 8:21 ` Yang Xu
2020-06-10 9:51 ` Petr Vorel
2020-06-10 8:47 ` Xiao Yang
1 sibling, 1 reply; 10+ messages in thread
From: Yang Xu @ 2020-06-10 8:21 UTC (permalink / raw)
To: ltp
Hi Petr
> Hi Xu,
>
>> Hi Petr
>
>> Nothing blocks this simple patch, I guess we can directly push this
>> patch(don't forget jan's acked-by).
>
> I guess you missed librealtime.a in (testcases/realtime/lib/Makefile).
Yes.
>
> Maybe removing libdir could be in separate commit, it looks to me as unrelated
> change.
>
Agree.
> And you haven't replied to my question:
> https://lists.linux.it/pipermail/ltp/2020-June/017495.html
>
> But newer mind :). Maybe it's just me, but "Also include Android_libpthread and
> android_librt." is not clear to me. I'd phrase it: "Also change Android_libpthread and
> android_librt" (because include is ambiguous, when we're trying not to
> install/include these statically linked libraries.
Yes, My meaning is that v1 does not modify
Android_libpthread/android_librt, and v2 does this. Using modify is better.
>
> BTW if you ack it, I can do this changes before merge.
acked.
Best Regards
Yang Xu
>
> Kind regards,
> Petr
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
2020-06-10 8:05 ` Petr Vorel
2020-06-10 8:21 ` Yang Xu
@ 2020-06-10 8:47 ` Xiao Yang
2020-06-10 10:48 ` Petr Vorel
1 sibling, 1 reply; 10+ messages in thread
From: Xiao Yang @ 2020-06-10 8:47 UTC (permalink / raw)
To: ltp
On 2020/6/10 16:05, Petr Vorel wrote:
> Hi Xu,
>
>> Hi Petr
>
>> Nothing blocks this simple patch, I guess we can directly push this
>> patch(don't forget jan's acked-by).
>
> I guess you missed librealtime.a in (testcases/realtime/lib/Makefile).
>
> Maybe removing libdir could be in separate commit, it looks to me as unrelated
> change.
Hi Petr, Xu
Agreed, This patch should focus on replacing LIB with INTERNAL_LIB.
My question about the issue is not important, we can just keep libdir
for now as you want because someone may add dynamic library linking in
future.
Thanks,
Xiao Yang
>
> And you haven't replied to my question:
> https://lists.linux.it/pipermail/ltp/2020-June/017495.html
>
> But newer mind :). Maybe it's just me, but "Also include Android_libpthread and
> android_librt." is not clear to me. I'd phrase it: "Also change Android_libpthread and
> android_librt" (because include is ambiguous, when we're trying not to
> install/include these statically linked libraries.
>
> BTW if you ack it, I can do this changes before merge.
>
> Kind regards,
> Petr
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
2020-06-10 8:21 ` Yang Xu
@ 2020-06-10 9:51 ` Petr Vorel
0 siblings, 0 replies; 10+ messages in thread
From: Petr Vorel @ 2020-06-10 9:51 UTC (permalink / raw)
To: ltp
Hi Xu,
> > I guess you missed librealtime.a in (testcases/realtime/lib/Makefile).
> Yes.
> > Maybe removing libdir could be in separate commit, it looks to me as unrelated
> > change.
Actually, when looking into this more (this part is new in v2, Jan didn't review
it).
I'd keep keep libdir in include/mk/config.mk.in, because we use it in our
lib/ltp.pc file. Maybe we don't need if we don't install any library, but then
we should remove also LIB variable and associated code in include/mk/lib.mk.
Which should be a second step (second commit).
Also libdir is somehow expected by automake (it's referenced in generated
./m4/Makefile.in ./testcases/realtime/m4/Makefile.in).
Kind regards,
Petr
^ permalink raw reply [flat|nested] 10+ messages in thread
* [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib
2020-06-10 8:47 ` Xiao Yang
@ 2020-06-10 10:48 ` Petr Vorel
0 siblings, 0 replies; 10+ messages in thread
From: Petr Vorel @ 2020-06-10 10:48 UTC (permalink / raw)
To: ltp
Hi Yang, Xu,
> Agreed, This patch should focus on replacing LIB with INTERNAL_LIB.
+1 merged (with adjusted commit message, added realtime and keeping libdir
changes for now).
Xu, thank you!
> My question about the issue is not important, we can just keep libdir for
> now as you want because someone may add dynamic library linking in future.
Yep, let's leave it now. I guess for adding LTP into traditional linux
distribution (not just have it in QA teams repositories or in embedded distros)
LTP libraries would have to be dynamically linked.
Also traditional distros would probably install most of LTP binaries outside of
/usr/bin, into LTP library path (e.g. /usr/lib64/ltp). Thus I'm for keeping that
old comment in include/mk/generic_leaf_target.inc.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-06-10 10:48 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-02 7:37 [LTP] [PATCH v2] LIB: Use INTERNAL_LIB for ltp lib Yang Xu
2020-06-08 10:10 ` Petr Vorel
2020-06-08 11:01 ` Yang Xu
2020-06-08 11:41 ` Petr Vorel
[not found] <57a1c19e-d8e5-4389-8565-20e49f144657@G08CNEXMBPEKD05.g08.fujitsu.local>
2020-06-10 1:28 ` Yang Xu
2020-06-10 8:05 ` Petr Vorel
2020-06-10 8:21 ` Yang Xu
2020-06-10 9:51 ` Petr Vorel
2020-06-10 8:47 ` Xiao Yang
2020-06-10 10:48 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox