nios2: enable "make defconfig"
authorPaul Bolle <pebolle@tiscali.nl>
Thu, 11 Dec 2014 02:49:36 +0000 (10:49 +0800)
committerLey Foon Tan <lftan@altera.com>
Wed, 17 Dec 2014 05:37:09 +0000 (13:37 +0800)
commitd1e4ef04244fc67f4f2ee001a84a6562f569f437
tree230bcdf69656aff587c8d1b2fb5fa5001b5a10c4
parent76367a52d3cbf78f254fee0479824014c8dfb4dc
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>
arch/nios2/Makefile