lkml.org 
[lkml]   [2021]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: allmodconfig not working with dummy-tools
On Thu, Apr 1, 2021 at 9:39 PM Michal Suchánek <msuchanek@suse.de> wrote:
>
> Hello,
>
> running allmodconfig with dumy-tools I get:
>
> which: no elfedit in (./scripts/dummy-tools)
> scripts/dummy-tools/gcc: unknown assembler invoked
> scripts/Kconfig.include:50: Sorry, this assembler is not supported.
> scripts/kconfig/Makefile:77: recipe for target 'allmodconfig' failed
> make[1]: *** [allmodconfig] Error 1
> Makefile:648: recipe for target 'allmodconfig' failed
> make: *** [allmodconfig] Error 2
>
> I use allmodconfig to enable any unknown options on new kernel version
> automaticallly so it can be build-tested.
>
> Can this be fixed or is there some other way of automatically udating
> the config after new options are added?
>
> Thanks
>
> Michal


Thanks for the report.
I squashed the following. Please wait for tomorrow's linux-next.



diff --git a/scripts/dummy-tools/gcc b/scripts/dummy-tools/gcc
index 39e65fee59bd..f6d543725f1e 100755
--- a/scripts/dummy-tools/gcc
+++ b/scripts/dummy-tools/gcc
@@ -67,6 +67,12 @@ if arg_contain -E "$@"; then
fi
fi

+# To set CONFIG_AS_IS_GNU
+if arg_contain -Wa,--version "$@"; then
+ echo "GNU assembler (scripts/dummy-tools) 2.50"
+ exit 0
+fi
+
if arg_contain -S "$@"; then
# For scripts/gcc-x86-*-has-stack-protector.sh
if arg_contain -fstack-protector "$@"; then


--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2021-04-01 19:49    [W:0.232 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site