mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] nios2: enable "make defconfig"
@ 2014-12-09 20:02 Paul Bolle
  2014-12-12  8:44 ` Ley Foon Tan
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2014-12-09 20:02 UTC (permalink / raw)
  To: Ley Foon Tan; +Cc: nios2-dev, linux-kernel

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>
---
 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
-- 
1.9.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-12  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-09 20:02 [PATCH] nios2: enable "make defconfig" Paul Bolle
2014-12-12  8:44 ` Ley Foon Tan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®