OSDN Git Service

Fixup selection of endianness, since select does not work on choice
[uclinux-h8/uClibc.git] / extra / Configs / Config.h8300
index 8620dfa..d946464 100644 (file)
@@ -3,36 +3,45 @@
 # see extra/config/Kconfig-language.txt
 #
 
-mainmenu "uClibc C Library Configuration"
-
-menu "Target Architecture Features and Options"
-
 config HAVE_ELF
        bool
-       default n
-
-config ARCH_CFLAGS
-       string
-       default "-mh -mint32 -fsigned-char"
-
-config ARCH_LDFLAGS
-       string
-
-config LIBGCC_CFLAGS
-       string
+       select ARCH_HAS_NO_MMU
+       select ARCH_HAS_C_SYMBOL_PREFIX
+       select HAVE_NO_SHARED
+       select ARCH_HAS_NO_LDSO
+       default y
 
-config ARCH_HAS_NO_MMU
+config ARCH_SUPPORTS_BIG_ENDIAN
        bool
        default y
 
-config ARCH_HAS_C_SYMBOL_PREFIX
+config ARCH_SUPPORTS_LITTLE_ENDIAN
        bool
        default y
 
-source "extra/Configs/Config.in.arch"
+config TARGET_ARCH
+       default "h8300"
+
+choice
+       prompt "Target Processor"
+       default CONFIG_H8300H
+       help
+         This is the processor type of your CPU.
+
+config CONFIG_H8300H
+       bool "H8300H"
 
-endmenu
+config CONFIG_H8S
+       bool "H8S (edosk2674)"
 
-source "extra/Configs/Config.in"
+endchoice
+
+config ARCH_CFLAGS
+       string
 
+config ARCH_LDFLAGS
+       string
+
+config LIBGCC_CFLAGS
+       string