public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/2] linux-module: create S if not existing
@ 2022-07-07 15:46 Felix Moessbauer
  2022-07-07 15:46 ` [PATCH 2/2] Add support for build dependencies in linux-module Felix Moessbauer
  2022-07-07 16:00 ` [PATCH 1/2] linux-module: create S if not existing Henning Schild
  0 siblings, 2 replies; 10+ messages in thread
From: Felix Moessbauer @ 2022-07-07 15:46 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, Felix Moessbauer

We copy the debian folder into S, but at do_prepare_build
time S might not have been created yet.
This patch makes sure that the directory is created if
it does not exist.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta/recipes-kernel/linux-module/module.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/linux-module/module.inc b/meta/recipes-kernel/linux-module/module.inc
index 50acfe14..97eff294 100644
--- a/meta/recipes-kernel/linux-module/module.inc
+++ b/meta/recipes-kernel/linux-module/module.inc
@@ -28,6 +28,7 @@ TEMPLATE_FILES = "debian/control.tmpl \
                   debian/rules.tmpl"
 TEMPLATE_VARS += "KERNEL_NAME KERNEL_TYPE KERNEL_IMAGE_PKG KERNEL_HEADERS_PKG PN"
 
+do_prepare_build[dirs] += "${S}"
 do_prepare_build() {
     cp -r ${WORKDIR}/debian ${S}/
 
-- 
2.30.2


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

end of thread, other threads:[~2022-07-14  9:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07 15:46 [PATCH 1/2] linux-module: create S if not existing Felix Moessbauer
2022-07-07 15:46 ` [PATCH 2/2] Add support for build dependencies in linux-module Felix Moessbauer
2022-07-07 15:57   ` Henning Schild
2022-07-07 16:00     ` Moessbauer, Felix
2022-07-14  9:17   ` Anton Mikanovich
2022-07-07 16:00 ` [PATCH 1/2] linux-module: create S if not existing Henning Schild
2022-07-07 16:54   ` Jan Kiszka
2022-07-08 14:31     ` Moessbauer, Felix
2022-07-14  8:22       ` Anton Mikanovich
2022-07-14  9:05         ` Moessbauer, Felix

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