public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] linux-custom: Make tracing more consistent
@ 2022-07-10 20:51 Jan Kiszka
  2022-07-11 13:07 ` Henning Schild
  2022-07-19 18:55 ` Anton Mikanovich
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Kiszka @ 2022-07-10 20:51 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

From: Jan Kiszka <jan.kiszka@siemens.com>

Include more of the do_build and anything of do_configure into the trace
log.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/recipes-kernel/linux/files/debian/isar/build.tmpl     | 6 +++---
 meta/recipes-kernel/linux/files/debian/isar/configure.tmpl | 3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/files/debian/isar/build.tmpl b/meta/recipes-kernel/linux/files/debian/isar/build.tmpl
index 550bdc67..65261e41 100644
--- a/meta/recipes-kernel/linux/files/debian/isar/build.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/isar/build.tmpl
@@ -10,6 +10,9 @@ do_build() {
     # Print a few things that are of particular interest
     print_settings
 
+    # Trace what we do here
+    set -x
+
     # Process existing kernel configuration to make sure it is complete
     # (use defaults for options that were not specified)
     ${MAKE} O=${KERNEL_BUILD_DIR} olddefconfig prepare
@@ -18,9 +21,6 @@ do_build() {
     KR=$(${MAKE} O=${KERNEL_BUILD_DIR} -s --no-print-directory kernelrelease)
     sed -i "s/@KR@/${KR}/g" ${S}/debian/control ${S}/debian/linux-image-${KERNEL_NAME_PROVIDED}.*
 
-    # Trace what we do here
-    set -x
-
     # Build the Linux kernel
     ${MAKE} O=${KERNEL_BUILD_DIR} ${PARALLEL_MAKE}
 
diff --git a/meta/recipes-kernel/linux/files/debian/isar/configure.tmpl b/meta/recipes-kernel/linux/files/debian/isar/configure.tmpl
index 58f10326..389c9a85 100644
--- a/meta/recipes-kernel/linux/files/debian/isar/configure.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/isar/configure.tmpl
@@ -7,6 +7,9 @@
 
 do_configure() {
 
+    # Trace what we do here
+    set -x
+
     # Process kernel config target and fragments
     ${MAKE} O=${KERNEL_BUILD_DIR} ${KERNEL_CONFIG_TARGET}
     ./scripts/kconfig/merge_config.sh -O ${KERNEL_BUILD_DIR}/ \
-- 
2.35.3

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

end of thread, other threads:[~2022-07-19 18:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-10 20:51 [PATCH] linux-custom: Make tracing more consistent Jan Kiszka
2022-07-11 13:07 ` Henning Schild
2022-07-11 17:02   ` Jan Kiszka
2022-07-11 17:19     ` Jan Kiszka
2022-07-12  7:43       ` Henning Schild
2022-07-19 18:55 ` Anton Mikanovich

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