Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Paul Bolle and committed by
Ley Foon Tan
d1e4ef04 76367a52

+2
+2
arch/nios2/Makefile
··· 14 14 # Nios2 port by Wind River Systems Inc trough: 15 15 # fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com 16 16 17 + KBUILD_DEFCONFIG := 3c120_defconfig 18 + 17 19 UTS_SYSNAME = Linux 18 20 19 21 export MMU