diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-07-19 08:04:29 +0200 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2018-08-22 12:14:22 +0200 |
commit | 7b291be81fde312868b9fd2f6a0419b76737f230 (patch) | |
tree | 90d44facd8990d7ec981679ccbd75a5e640a68ab /arch/h8300 | |
parent | arch/h8300: eliminate kgbd.c warning (diff) | |
download | linux-7b291be81fde312868b9fd2f6a0419b76737f230.tar.xz linux-7b291be81fde312868b9fd2f6a0419b76737f230.zip |
arch/h8300: add a defconfig target
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)
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300')
-rw-r--r-- | arch/h8300/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile index eaac6685fe89..cc12b162c222 100644 --- a/arch/h8300/Makefile +++ b/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 |