Skip to contentSkip to conversation

nios2: enable "make defconfig"

PATCH Applied Paul Bolle 2 participants 2 messages Dec 9, 2014 – Dec 12, 2014 NIOS2 architecture

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 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.

---
 arch/nios2/Makefile | 2 ++
 1 file changed, 2 insertions(+)
arch/nios2/Makefile +2 -0
index e142c9ee51fa..2328f82ba2a8 100644
@@ -14,6 +14,8 @@
 # Nios2 port by Wind River Systems Inc trough:
 #   [email protected] and [email protected]
 
+KBUILD_DEFCONFIG := 3c120_defconfig
+
 UTS_SYSNAME = Linux
 
 export MMU
Signature · 1 line
1.9.3
Applied
#1 lore raw
Quoted 9 lines · Paul Bolle

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
Quoted 5 lines

Add a definition for KBUILD_DEFCONFIG to the nios2's main Makefile to enable this make target.

---

Applied.

Thanks.