summaryrefslogtreecommitdiff
path: root/arch/nios2/Makefile
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2014-12-11 10:49:36 +0800
committerLey Foon Tan <lftan@altera.com>2014-12-17 13:37:09 +0800
commitd1e4ef04244fc67f4f2ee001a84a6562f569f437 (patch)
tree230bcdf69656aff587c8d1b2fb5fa5001b5a10c4 /arch/nios2/Makefile
parent76367a52d3cbf78f254fee0479824014c8dfb4dc (diff)
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 <pebolle@tiscali.nl> Acked-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/Makefile')
-rw-r--r--arch/nios2/Makefile2
1 files changed, 2 insertions, 0 deletions
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