From d1e4ef04244fc67f4f2ee001a84a6562f569f437 Mon Sep 17 00:00:00 2001 From: Paul Bolle Date: Thu, 11 Dec 2014 10:49:36 +0800 Subject: [PATCH] nios2: enable "make defconfig" Running "make defconfig" currently fails for nios2: $ make ARCH=nios2 defconfig scripts/kconfig/conf --defconfig Kconfig *** *** Can't find default configuration "arch/nios2/defconfig"! *** make[1]: *** [defconfig] Error 1 make: *** [defconfig] Error 2 Add a definition for KBUILD_DEFCONFIG to the nios2's main Makefile to enable this make target. Signed-off-by: Paul Bolle Acked-by: Ley Foon Tan --- arch/nios2/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile index e142c9ee51fa..2328f82ba2a8 100644 --- a/arch/nios2/Makefile +++ b/arch/nios2/Makefile @@ -14,6 +14,8 @@ # Nios2 port by Wind River Systems Inc trough: # fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com +KBUILD_DEFCONFIG := 3c120_defconfig + UTS_SYSNAME = Linux export MMU -- 2.20.1