Split the Linux menuconfig and savedefconfig

This commit is contained in:
Palmer Dabbelt 2017-12-14 16:04:33 -08:00
parent f4d32edd0f
commit 61eee3bdfc

View File

@ -133,7 +133,9 @@ $(vmlinux_stripped): $(vmlinux)
.PHONY: linux-menuconfig .PHONY: linux-menuconfig
linux-menuconfig: $(linux_wrkdir)/.config linux-menuconfig: $(linux_wrkdir)/.config
$(MAKE) -C $(linux_srcdir) O=$(dir $<) ARCH=riscv menuconfig savedefconfig $(MAKE) -C $(linux_srcdir) O=$(dir $<) ARCH=riscv menuconfig
$(MAKE) -C $(linux_srcdir) O=$(dir $<) ARCH=riscv savedefconfig
cp $(dir $<)/defconfig conf/linux_defconfig
$(bbl): $(pk_srcdir) $(vmlinux_stripped) $(bbl): $(pk_srcdir) $(vmlinux_stripped)
rm -rf $(pk_wrkdir) rm -rf $(pk_wrkdir)