On 2018/11/5 15:55, Masahiro Yamada wrote:
Hi Zhenzhong,
On Fri, Nov 2, 2018 at 8:26 PM Zhenzhong Duan<zhenzhong.duan@xxxxxxxxxx> wrote:
Running 'make O=/build/kernel binrpm-pkg' failed with below two errors.
Makefile:600: include/config/auto.conf: No such file or directory
+ cp make -C /mnt/root/kernel O=/build/kernel image_name make -f
/mnt/root/kernel/Makefile ...
cp: invalid option -- 'C'
Try 'cp --help' for more information.
Export KBUILD_OUTPUT when O= is used so that it could be used in locating
include/config/auto.conf
Use $srctree to locate source dir when generating image name, no matter
if O= is used.
Signed-off-by: Zhenzhong Duan<zhenzhong.duan@xxxxxxxxxx>
Sorry for the breakage, and thanks for your report.
I'd like to fix the issue in a cleaner way.
See this:
https://patchwork.kernel.org/patch/10667539/
Never mind, appreciate you fixed it in a smart way:)
Thanks
Zhenzhong