]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
powerpc/prom_init: Fix kernel config grep howlett/maple/20220722_2
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 24 Jun 2022 01:15:05 +0000 (21:15 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 22 Jul 2022 19:22:41 +0000 (15:22 -0400)
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

index b183ab9c5107c9236930b3d3d9e1f2c7dd27b302..dfa5f729f774d6607f6e417bb5ca379430b96257 100644 (file)
@@ -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"