[LTP] [PATCH v4 8/9] [RFC] make: Allow to add LTP library as a dependency for host
Petr Vorel
pvorel@suse.cz
Wed Aug 5 17:14:50 CEST 2026
Will be used for metadata.c in the next commit.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
New in v4.
include/mk/generic_leaf_target.inc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/mk/generic_leaf_target.inc b/include/mk/generic_leaf_target.inc
index 7c685fea76..1df18c1a75 100644
--- a/include/mk/generic_leaf_target.inc
+++ b/include/mk/generic_leaf_target.inc
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Generic leaf rules include Makefile.
-# Copyright (c) Linux Test Project, 2017-2022
+# Copyright (c) Linux Test Project, 2017-2026
# Copyright (C) 2009, Cisco Systems Inc.
# Ngie Cooper, July 2009
@@ -84,6 +84,9 @@ endif
$(MAKE_TARGETS): | $(MAKE_DEPS)
+# Allow to host tools reuse libltp.a
+$(HOST_MAKE_TARGETS): | $(MAKE_DEPS)
+
all: $(MAKE_TARGETS)
clean:: $(CLEAN_DEPS)
--
2.55.0
More information about the ltp
mailing list