2018-11-07 19:48:45

by Mathieu Malaterre

[permalink] [raw]
Subject: Makefile:611: include/config/auto.conf: No such file or directory

Hi Yamada-san,

Since commit:

80463f1b7bf9 kbuild: add --include-dir flag only for out-of-tree build

I can no longer run the bindeb-pkg rule. For example:

$ make O=wii ARCH=powerpc wii_defconfig
$ make -j8 O=wii ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- bindeb-pkg
...
WRAP arch/powerpc/boot/dtbImage.wii
INFO: Uncompressed kernel (size 0x89aa8c) overlaps the address of the
wrapper(0x600000)
INFO: Fixing the link_address of wrapper to (0x900000)
rm arch/powerpc/boot/wii.dtb
fakeroot -u debian/rules binary
make KERNELRELEASE=4.19.0-rc3-wii+ ARCH=powerpc KBUILD_SRC= intdeb-pkg
/bin/bash ../scripts/package/builddeb
Makefile:611: include/config/auto.conf: No such file or directory
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[11]: *** [syncconfig] Error 1
make[10]: *** [syncconfig] Error 2
make[9]: *** [include/config/auto.conf] Error 2
make[8]: *** [__sub-make] Error 2
cp: cannot stat '/tmp/linux/scripts/kconfig/Makefile:69: recipe for
target '\''syncconfig'\'' failed'$'\n''/tmp/linux/Makefile:555: recipe
for target '\''syncconfig'\'' failed'$'\n''Makefile:646: recipe for
target '\''include/config/auto.conf'\'' failed'$'\n''Makefile:24:
recipe for target '\''__sub-make'\'' failed': No such file or
directory

Would you be able to provide a patch to fix this ?

Thanks much,


2018-11-08 02:25:25

by Masahiro Yamada

[permalink] [raw]
Subject: Re: Makefile:611: include/config/auto.conf: No such file or directory

Hi Mathieu,

On Thu, Nov 8, 2018 at 4:48 AM Mathieu Malaterre <[email protected]> wrote:
>
> Hi Yamada-san,
>
> Since commit:
>
> 80463f1b7bf9 kbuild: add --include-dir flag only for out-of-tree build
>
> I can no longer run the bindeb-pkg rule. For example:
>
> $ make O=wii ARCH=powerpc wii_defconfig
> $ make -j8 O=wii ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- bindeb-pkg
> ...
> WRAP arch/powerpc/boot/dtbImage.wii
> INFO: Uncompressed kernel (size 0x89aa8c) overlaps the address of the
> wrapper(0x600000)
> INFO: Fixing the link_address of wrapper to (0x900000)
> rm arch/powerpc/boot/wii.dtb
> fakeroot -u debian/rules binary
> make KERNELRELEASE=4.19.0-rc3-wii+ ARCH=powerpc KBUILD_SRC= intdeb-pkg
> /bin/bash ../scripts/package/builddeb
> Makefile:611: include/config/auto.conf: No such file or directory
> ***
> *** Configuration file ".config" not found!
> ***
> *** Please run some configurator (e.g. "make oldconfig" or
> *** "make menuconfig" or "make xconfig").
> ***
> make[11]: *** [syncconfig] Error 1
> make[10]: *** [syncconfig] Error 2
> make[9]: *** [include/config/auto.conf] Error 2
> make[8]: *** [__sub-make] Error 2
> cp: cannot stat '/tmp/linux/scripts/kconfig/Makefile:69: recipe for
> target '\''syncconfig'\'' failed'$'\n''/tmp/linux/Makefile:555: recipe
> for target '\''syncconfig'\'' failed'$'\n''Makefile:646: recipe for
> target '\''include/config/auto.conf'\'' failed'$'\n''Makefile:24:
> recipe for target '\''__sub-make'\'' failed': No such file or
> directory
>
> Would you be able to provide a patch to fix this ?


This is the one:
https://patchwork.kernel.org/patch/10667541/


It is already sitting in linux-next,
and I will also send a pull request to Linus shortly.




--
Best Regards
Masahiro Yamada