linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/prom_init: Fix kernel config grep
@ 2022-06-24  1:17 Liam Howlett
  2022-06-29  7:01 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Liam Howlett @ 2022-06-24  1:17 UTC (permalink / raw)
  To: linux-kernel, linuxppc-dev, Paul Mackerras,
	Benjamin Herrenschmidt, Michael Ellerman

When searching for config options, use the KCONFIG shell variable so
that builds using non-standard config locations work.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
---
 arch/powerpc/kernel/prom_init_check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/prom_init_check.sh b/arch/powerpc/kernel/prom_init_check.sh
index b183ab9c5107..dfa5f729f774 100644
--- a/arch/powerpc/kernel/prom_init_check.sh
+++ b/arch/powerpc/kernel/prom_init_check.sh
@@ -13,7 +13,7 @@
 # If you really need to reference something from prom_init.o add
 # it to the list below:
 
-grep "^CONFIG_KASAN=y$" .config >/dev/null
+grep "^CONFIG_KASAN=y$" ${KCONFIG_CONFIG} >/dev/null
 if [ $? -eq 0 ]
 then
 	MEM_FUNCS="__memcpy __memset"
-- 
2.35.1

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

* Re: [PATCH] powerpc/prom_init: Fix kernel config grep
  2022-06-24  1:17 [PATCH] powerpc/prom_init: Fix kernel config grep Liam Howlett
@ 2022-06-29  7:01 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2022-06-29  7:01 UTC (permalink / raw)
  To: linuxppc-dev, Liam Howlett, Benjamin Herrenschmidt, linux-kernel,
	Michael Ellerman, Paul Mackerras

On Fri, 24 Jun 2022 01:17:58 +0000, Liam Howlett wrote:
> When searching for config options, use the KCONFIG shell variable so
> that builds using non-standard config locations work.
> 
> 

Applied to powerpc/fixes.

[1/1] powerpc/prom_init: Fix kernel config grep
      https://git.kernel.org/powerpc/c/6886da5f49e6d86aad76807a93f3eef5e4f01b10

cheers

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

end of thread, other threads:[~2022-06-29  7:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  1:17 [PATCH] powerpc/prom_init: Fix kernel config grep Liam Howlett
2022-06-29  7:01 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).