Commit MetaInfo

Revisionafed53d25550014271e6a9964e39c3633554a7fa (tree)
Time2018-07-20 09:14:10
AuthorRandy Dunlap <rdunlap@infr...>
CommiterYoshinori Sato

Log Message

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>

Change Summary

Incremental Difference

--- a/arch/h8300/Makefile
+++ b/arch/h8300/Makefile
@@ -8,6 +8,8 @@
88 # (C) Copyright 2002-2015 Yoshinori Sato <ysato@users.sourceforge.jp>
99 #
1010
11+KBUILD_DEFCONFIG := edosk2674_defconfig
12+
1113 cflags-$(CONFIG_CPU_H8300H) := -mh
1214 aflags-$(CONFIG_CPU_H8300H) := -mh -Wa,--mach=h8300h
1315 ldflags-$(CONFIG_CPU_H8300H) := -mh8300helf_linux
Show on old repository browser