public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] include/lapi: add leaf Makefile
@ 2026-04-10 17:50 Jinseok Kim
  2026-04-13  9:04 ` Li Wang
  2026-04-13 21:20 ` Petr Vorel
  0 siblings, 2 replies; 16+ messages in thread
From: Jinseok Kim @ 2026-04-10 17:50 UTC (permalink / raw)
  To: ltp

Fixes : https://github.com/linux-test-project/ltp/issues/1262

include/lapi and include/lapi/syscalls lack Makefiles, so 'make check'
does not work in these directories. Add minimal leaf Makefiles.

Signed-off-by: Jinseok Kim <always.starving0@gmail.com>
---
 include/lapi/Makefile          | 8 ++++++++
 include/lapi/syscalls/Makefile | 8 ++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 include/lapi/Makefile
 create mode 100644 include/lapi/syscalls/Makefile

diff --git a/include/lapi/Makefile b/include/lapi/Makefile
new file mode 100644
index 000000000..83ef85c77
--- /dev/null
+++ b/include/lapi/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2026 Jinseok Kim <always.starving0@gmail.com>
+
+top_srcdir              ?= ../../
+
+include $(top_srcdir)/include/mk/env_pre.mk
+
+include $(top_srcdir)/include/mk/generic_leaf_target.mk
diff --git a/include/lapi/syscalls/Makefile b/include/lapi/syscalls/Makefile
new file mode 100644
index 000000000..e46c90ef5
--- /dev/null
+++ b/include/lapi/syscalls/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2026 Jinseok Kim <always.starving0@gmail.com>
+
+top_srcdir              ?= ../../../
+
+include $(top_srcdir)/include/mk/env_pre.mk
+
+include $(top_srcdir)/include/mk/generic_leaf_target.mk
--
2.43.0

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 16+ messages in thread
* Re: [LTP] [PATCH v2] include/lapi: add leaf Makefile
@ 2026-04-22  5:26 Li Wang
  2026-04-22 11:34 ` Petr Vorel
  0 siblings, 1 reply; 16+ messages in thread
From: Li Wang @ 2026-04-22  5:26 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

Hi Petr, Jinseok,

Petr Vorel wrote:

> > Convert include/Makefile to use generic_trunk_target.mk and
> > add minimal leaf Makefile in include/lapi.
> 
> add minimal leaf Makefile in include/lapi in order to have 'make check'.
> 
> FYI AI is correct it's better to describe the reason (although we have a ticket,
> one day might github disappear and we lost the reason in the ticket).
> 
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
> Wait little longer if Li has time to ack this.

The v2 generally looks good (with Petr's suggestion).
Feel free to merge/refine with:

Reviewed-by: Li Wang <wangli.ahau@gmail.com>

-- 
Regards,
Li Wang

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-04-22 11:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 17:50 [LTP] [PATCH] include/lapi: add leaf Makefile Jinseok Kim
2026-04-13  9:04 ` Li Wang
2026-04-13 21:20 ` Petr Vorel
2026-04-14  7:55   ` Li Wang
2026-04-16 14:46     ` Jinseok Kim
2026-04-16 18:11       ` Petr Vorel
2026-04-16 18:05     ` Petr Vorel
2026-04-16 23:24       ` Li Wang
2026-04-17  0:11         ` Li Wang
2026-04-17 11:41           ` Petr Vorel
2026-04-17 11:34         ` Petr Vorel
2026-04-21 16:08           ` [LTP] [PATCH v2] " Jinseok Kim
2026-04-21 17:05             ` [LTP] " linuxtestproject.agent
2026-04-22  5:18             ` [LTP] [PATCH v2] " Petr Vorel
  -- strict thread matches above, loose matches on Subject: below --
2026-04-22  5:26 Li Wang
2026-04-22 11:34 ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox