Re: [PATCH] kbuild: rpm-pkg: fix two build breaks when O= is used

2018-11-05 Thread Zhenzhong Duan
On 2018/11/5 15:55, Masahiro Yamada wrote: Hi Zhenzhong, On Fri, Nov 2, 2018 at 8:26 PM Zhenzhong Duan 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/kerne

Re: [PATCH] kbuild: rpm-pkg: fix two build breaks when O= is used

2018-11-04 Thread Masahiro Yamada
Hi Zhenzhong, On Fri, Nov 2, 2018 at 8:26 PM Zhenzhong Duan 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/ker

[PATCH] kbuild: rpm-pkg: fix two build breaks when O= is used

2018-11-02 Thread Zhenzhong Duan
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.