* [PATCH] linux-module: Silence warning during parsing step
@ 2019-11-06 22:46 Jan Kiszka
2019-11-12 5:16 ` Baurzhan Ismagulov
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2019-11-06 22:46 UTC (permalink / raw)
To: isar-users; +Cc: Vijai Kumar K
From: Jan Kiszka <jan.kiszka@siemens.com>
KERNEL_NAME is undefined at this stage, but the new FILESPATH definition
will pull it via ${FILE_DIRNAME}/${PN}. Weakly define it to avoid
warnings.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
meta/recipes-kernel/linux-module/module.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-kernel/linux-module/module.inc b/meta/recipes-kernel/linux-module/module.inc
index d30e799..47b9b71 100644
--- a/meta/recipes-kernel/linux-module/module.inc
+++ b/meta/recipes-kernel/linux-module/module.inc
@@ -9,6 +9,8 @@ FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/files:"
DESCRIPTION ?= "Custom kernel module ${PN}"
+KERNEL_NAME ?= ""
+
PN .= "-${KERNEL_NAME}"
DEPENDS += "linux-headers-${KERNEL_NAME}"
--
2.16.4
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] linux-module: Silence warning during parsing step
2019-11-06 22:46 [PATCH] linux-module: Silence warning during parsing step Jan Kiszka
@ 2019-11-12 5:16 ` Baurzhan Ismagulov
0 siblings, 0 replies; 2+ messages in thread
From: Baurzhan Ismagulov @ 2019-11-12 5:16 UTC (permalink / raw)
To: isar-users
On Wed, Nov 06, 2019 at 11:46:03PM +0100, Jan Kiszka wrote:
> KERNEL_NAME is undefined at this stage, but the new FILESPATH definition
> will pull it via ${FILE_DIRNAME}/${PN}. Weakly define it to avoid
> warnings.
Applied to next, thanks.
With kind regards,
Baurzhan.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-12 5:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-06 22:46 [PATCH] linux-module: Silence warning during parsing step Jan Kiszka
2019-11-12 5:16 ` Baurzhan Ismagulov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox