public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch/h8300: add a defconfig target
@ 2018-07-19  6:04 Randy Dunlap
  2018-07-20  0:15 ` Yoshinori Sato
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-07-19  6:04 UTC (permalink / raw)
  To: LKML, Yoshinori Sato; +Cc: uclinux-h8-devel

From: Randy Dunlap <rdunlap@infradead.org>

Make the "defconfig" target valid for arch/h8300.  Currently
"make ARCH=h8300 defconfig" produces:

*** Can't find default configuration "arch/h8300/defconfig"!
../scripts/kconfig/Makefile:87: recipe for target 'defconfig' failed

By adding a value for KBUILD_DEFCONFIG, "make ARCH=h8300 defconfig"
successfully produces a kernel .config file:

*** Default configuration is based on 'edosk2674_defconfig'

This is useful for Kconfig editing/testing.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: uclinux-h8-devel@lists.sourceforge.jp (moderated for non-subscribers)
---
 arch/h8300/Makefile |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20180717.orig/arch/h8300/Makefile
+++ linux-next-20180717/arch/h8300/Makefile
@@ -8,6 +8,8 @@
 # (C) Copyright 2002-2015 Yoshinori Sato <ysato@users.sourceforge.jp>
 #
 
+KBUILD_DEFCONFIG := edosk2674_defconfig
+
 cflags-$(CONFIG_CPU_H8300H)	:= -mh
 aflags-$(CONFIG_CPU_H8300H)	:= -mh -Wa,--mach=h8300h
 ldflags-$(CONFIG_CPU_H8300H)	:= -mh8300helf_linux



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

* Re: [PATCH] arch/h8300: add a defconfig target
  2018-07-19  6:04 [PATCH] arch/h8300: add a defconfig target Randy Dunlap
@ 2018-07-20  0:15 ` Yoshinori Sato
  0 siblings, 0 replies; 2+ messages in thread
From: Yoshinori Sato @ 2018-07-20  0:15 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, uclinux-h8-devel

On Thu, 19 Jul 2018 15:04:29 +0900,
Randy Dunlap wrote:
> 
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Make the "defconfig" target valid for arch/h8300.  Currently
> "make ARCH=h8300 defconfig" produces:
> 
> *** Can't find default configuration "arch/h8300/defconfig"!
> ../scripts/kconfig/Makefile:87: recipe for target 'defconfig' failed
> 
> By adding a value for KBUILD_DEFCONFIG, "make ARCH=h8300 defconfig"
> successfully produces a kernel .config file:
> 
> *** Default configuration is based on 'edosk2674_defconfig'
> 
> This is useful for Kconfig editing/testing.
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> Cc: uclinux-h8-devel@lists.sourceforge.jp (moderated for non-subscribers)
> ---
>  arch/h8300/Makefile |    2 ++
>  1 file changed, 2 insertions(+)
> 
> --- linux-next-20180717.orig/arch/h8300/Makefile
> +++ linux-next-20180717/arch/h8300/Makefile
> @@ -8,6 +8,8 @@
>  # (C) Copyright 2002-2015 Yoshinori Sato <ysato@users.sourceforge.jp>
>  #
>  
> +KBUILD_DEFCONFIG := edosk2674_defconfig
> +
>  cflags-$(CONFIG_CPU_H8300H)	:= -mh
>  aflags-$(CONFIG_CPU_H8300H)	:= -mh -Wa,--mach=h8300h
>  ldflags-$(CONFIG_CPU_H8300H)	:= -mh8300helf_linux
> 
> 

Applied for h8300-next.
Thanks.

-- 
Yosinori Sato

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

end of thread, other threads:[~2018-07-20  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-19  6:04 [PATCH] arch/h8300: add a defconfig target Randy Dunlap
2018-07-20  0:15 ` Yoshinori Sato

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