From: Henning Schild <henning.schild@siemens.com>
To: <isar-users@googlegroups.com>
Cc: Pingfang Liao <Pingfang.Liao@siemens.com>,
Florian Bezdeka <florian.bezdeka@siemens.com>,
Henning Schild <henning.schild@siemens.com>
Subject: [PATCH v2 3/3] linux-module: call the install target of external modules
Date: Sat, 27 Aug 2022 10:59:05 +0200 [thread overview]
Message-ID: <20220827085905.6116-3-henning.schild@siemens.com> (raw)
In-Reply-To: <20220827085905.6116-1-henning.schild@siemens.com>
An "install" target would allow out-of-tree modules to deploy additional
files. Like depmod.d ordering files, udev rules or modprobe.d files
which they might require.
The default "install" target just does nothing or maybe
"modules_install" again, so there should be no harm. While the kernel
documentation for external modules does not mention the "install" target
some might have it to install things on top of "modules_install".
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
meta/recipes-kernel/linux-module/files/debian/rules.tmpl | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-kernel/linux-module/files/debian/rules.tmpl b/meta/recipes-kernel/linux-module/files/debian/rules.tmpl
index 0d16186b5ff3..cb62dc99f1cf 100755
--- a/meta/recipes-kernel/linux-module/files/debian/rules.tmpl
+++ b/meta/recipes-kernel/linux-module/files/debian/rules.tmpl
@@ -55,6 +55,7 @@ override_dh_auto_build:
override_dh_auto_install:
$(MAKE) KDIR=$(KDIR) INSTALL_MOD_PATH=$(PWD)/debian/${PN} modules_install
+ $(MAKE) KDIR=$(KDIR) INSTALL_MOD_PATH=$(PWD)/debian/${PN} install
%:
CFLAGS= LDFLAGS= dh $@ --parallel
--
2.35.1
next prev parent reply other threads:[~2022-08-27 8:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-27 8:59 [PATCH v2 1/3] example-module: improve Makefile to be more realistic Henning Schild
2022-08-27 8:59 ` [PATCH v2 2/3] linux-module: honor modules Makefile Henning Schild
2022-09-01 16:08 ` Jan Kiszka
2022-09-01 17:17 ` Henning Schild
2022-09-01 19:46 ` Jan Kiszka
2022-08-27 8:59 ` Henning Schild [this message]
2022-09-01 16:08 ` [PATCH v2 1/3] example-module: improve Makefile to be more realistic Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220827085905.6116-3-henning.schild@siemens.com \
--to=henning.schild@siemens.com \
--cc=Pingfang.Liao@siemens.com \
--cc=florian.bezdeka@siemens.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox