From: Juergen Borleis <jbe@pengutronix.de>
To: distrokit@pengutronix.de
Subject: [DistroKit] [PATCH 1/3] mips: linux: adapt the build rules regarding the tool 'pahole'
Date: Tue, 2 May 2023 10:06:44 +0200 [thread overview]
Message-ID: <20230502080646.94539-1-jbe@pengutronix.de> (raw)
Using 'pahole' needs to be disabled on MIPS as well in order to avoid
host depended config file adaptions which let the build fail.
Signed-off-by: Signed-off-by: Jürgen Borleis <jbe@pengutronix.de>
---
configs/platform-mips/rules/kernel-ar9331.make | 1 +
configs/platform-mips/rules/kernel-malta.make | 1 +
configs/platform-mips/rules/kernel.make | 1 +
3 files changed, 3 insertions(+)
diff --git a/configs/platform-mips/rules/kernel-ar9331.make b/configs/platform-mips/rules/kernel-ar9331.make
index 74c10ce..1ed0fa4 100644
--- a/configs/platform-mips/rules/kernel-ar9331.make
+++ b/configs/platform-mips/rules/kernel-ar9331.make
@@ -47,6 +47,7 @@ KERNEL_AR9331_PATH := PATH=$(CROSS_PATH)
KERNEL_AR9331_SHARED_OPT := \
-C $(KERNEL_AR9331_DIR) \
O=$(KERNEL_AR9331_BUILD_DIR) \
+ PAHOLE=false \
$(call kernel-opts, KERNEL_AR9331)
# no gcc plugins; avoid config changes depending on the host compiler
diff --git a/configs/platform-mips/rules/kernel-malta.make b/configs/platform-mips/rules/kernel-malta.make
index 41e2760..e6116de 100644
--- a/configs/platform-mips/rules/kernel-malta.make
+++ b/configs/platform-mips/rules/kernel-malta.make
@@ -47,6 +47,7 @@ KERNEL_MALTA_PATH := PATH=$(CROSS_PATH)
KERNEL_MALTA_SHARED_OPT := \
-C $(KERNEL_MALTA_DIR) \
O=$(KERNEL_MALTA_BUILD_DIR) \
+ PAHOLE=false \
$(call kernel-opts, KERNEL_MALTA)
# no gcc plugins; avoid config changes depending on the host compiler
diff --git a/configs/platform-mips/rules/kernel.make b/configs/platform-mips/rules/kernel.make
index 6d5ca4d..e4efb46 100644
--- a/configs/platform-mips/rules/kernel.make
+++ b/configs/platform-mips/rules/kernel.make
@@ -39,6 +39,7 @@ KERNEL_BUILD_OOT := KEEP
KERNEL_CONF_OPT := \
-C $(KERNEL_DIR) \
O=$(KERNEL_BUILD_DIR) \
+ PAHOLE=false \
$(call kernel-opts, KERNEL)
# no gcc plugins; avoid config changes depending on the host compiler
--
2.30.2
next reply other threads:[~2023-05-02 8:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-02 8:06 Juergen Borleis [this message]
2023-05-02 8:06 ` [DistroKit] [PATCH 2/3] mips: linux: fixup kernel configuration Juergen Borleis
2023-05-02 8:06 ` [DistroKit] [PATCH 3/3] arch: bootloader: enable 'fastboot' support over USB and network Juergen Borleis
2023-05-08 8:08 ` [DistroKit] [PATCH 1/3] mips: linux: adapt the build rules regarding the tool 'pahole' Robert Schwebel
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=20230502080646.94539-1-jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=distrokit@pengutronix.de \
/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