Messages in this thread | | | Date | Sun, 13 Apr 2014 13:47:54 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86/platform: fix "make O=dir kvmconfig" |
| |
On Sun, Apr 13, 2014 at 04:26:08PM +0800, Antonio Borneo wrote: > Running: > make O=dir x86_64_defconfig > make O=dir kvmconfig > the second command dirties the source tree with file ".config", > symlink "source" and objects in folder "scripts". > > Fixed by adding paths in arch Makefile. > > Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Yes, without this patch and building into another dir with O=, kvmconfig has more problems:
$ make O=/tmp/kernel kvmconfig Using /tmp/kernel/.config as base Merging arch/x86/configs/kvm_guest.config sed: can't read arch/x86/configs/kvm_guest.config: No such file or directory cat: arch/x86/configs/kvm_guest.config: No such file or directory # # merged configuration written to /tmp/kernel/.config (needs make) # HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config
So, yes, we want it:
Acked-by: Borislav Petkov <bp@suse.de>
Thanks.
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. --
| |