2019-07-28 18:25:45

by Matteo Croce

[permalink] [raw]
Subject: [PATCH] kconfig: ignore auto-generated file

scripts/kconfig/zconf.hash.c is autogenerated during the build,
let's add it to the directory .gitignore.

Signed-off-by: Matteo Croce <[email protected]>
---
scripts/kconfig/.gitignore | 1 +
1 file changed, 1 insertion(+)

diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore
index b5bf92f66d11..2de0948749a0 100644
--- a/scripts/kconfig/.gitignore
+++ b/scripts/kconfig/.gitignore
@@ -3,6 +3,7 @@
#
*.moc
*conf-cfg
+zconf.hash.c

#
# configuration programs
--
2.21.0



2019-08-04 03:55:35

by Matteo Croce

[permalink] [raw]
Subject: Re: [PATCH] kconfig: ignore auto-generated file

On Sun, Jul 28, 2019 at 8:23 PM Matteo Croce <[email protected]> wrote:
>
> scripts/kconfig/zconf.hash.c is autogenerated during the build,
> let's add it to the directory .gitignore.
>
> Signed-off-by: Matteo Croce <[email protected]>
>

Sorry, forgot to CC the maintainer and the relevant mailing list

--
Matteo Croce
per aspera ad upstream

2019-08-04 04:07:59

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH] kconfig: ignore auto-generated file

On Sun, Aug 4, 2019 at 1:30 AM Matteo Croce <[email protected]> wrote:
>
> On Sun, Jul 28, 2019 at 8:23 PM Matteo Croce <[email protected]> wrote:
> >
> > scripts/kconfig/zconf.hash.c is autogenerated during the build,
> > let's add it to the directory .gitignore.
> >
> > Signed-off-by: Matteo Croce <[email protected]>
> >
>
> Sorry, forgot to CC the maintainer and the relevant mailing list


Probably, you built old version kernel.

The latest one does not generate kernel/config_data.h

See bb3290d91695bb1ae78ab86f18fb4d7ad8e5ebcc




--
Best Regards
Masahiro Yamada

2019-08-04 09:29:56

by Matteo Croce

[permalink] [raw]
Subject: Re: [PATCH] kconfig: ignore auto-generated file

On August 4, 2019 5:04:07 AM GMT+02:00, Masahiro Yamada <[email protected]> wrote:
> On Sun, Aug 4, 2019 at 1:30 AM Matteo Croce <[email protected]> wrote:
> >
> > On Sun, Jul 28, 2019 at 8:23 PM Matteo Croce <[email protected]>
> wrote:
> > >
> > > scripts/kconfig/zconf.hash.c is autogenerated during the build,
> > > let's add it to the directory .gitignore.
> > >
> > > Signed-off-by: Matteo Croce <[email protected]>
> > >
> >
> > Sorry, forgot to CC the maintainer and the relevant mailing list
>
>
> Probably, you built old version kernel.
>
> The latest one does not generate kernel/config_data.h
>
> See bb3290d91695bb1ae78ab86f18fb4d7ad8e5ebcc

Maybe you mean scripts/kconfig/zconf.hash.c

Good to know, thanks!
--
Matteo Croce
per aspera ad upstream