Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see Documentation/kbuild/kconfig-language.txt. |
| 4 | # |
| 5 | mainmenu "U-Boot $UBOOTVERSION Configuration" |
| 6 | |
| 7 | config UBOOTVERSION |
| 8 | string |
| 9 | option env="UBOOTVERSION" |
| 10 | |
| 11 | config KCONFIG_OBJDIR |
| 12 | string |
| 13 | option env="KCONFIG_OBJDIR" |
| 14 | |
| 15 | config DEFCONFIG_LIST |
| 16 | string |
| 17 | depends on !SPL_BUILD |
| 18 | option defconfig_list |
| 19 | default "configs/sandbox_defconfig" |
| 20 | |
| 21 | menu "General setup" |
| 22 | |
| 23 | config SPL_BUILD |
| 24 | bool |
| 25 | depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl" |
| 26 | default y |
| 27 | |
| 28 | config TPL_BUILD |
| 29 | bool |
| 30 | depends on $KCONFIG_OBJDIR="tpl" |
| 31 | default y |
| 32 | |
| 33 | config SPL |
| 34 | bool |
| 35 | prompt "Enable SPL" if !SPL_BUILD |
| 36 | default y if SPL_BUILD |
| 37 | help |
| 38 | If you want to build SPL as well as the normal image, say Y. |
| 39 | |
| 40 | config TPL |
| 41 | bool |
| 42 | depends on SPL |
| 43 | prompt "Enable TPL" if !SPL_BUILD |
| 44 | default y if TPL_BUILD |
| 45 | default n |
| 46 | help |
| 47 | If you want to build TPL as well as the normal image and SPL, say Y. |
| 48 | |
| 49 | config SYS_EXTRA_OPTIONS |
| 50 | string "Extra Options (DEPRECATED)" |
| 51 | depends on !SPL_BUILD |
| 52 | help |
| 53 | The old configuration infrastructure (= mkconfig + boards.cfg) |
| 54 | provided the extra options field. It you have something like |
| 55 | "HAS_BAR,BAZ=64", the optional options |
| 56 | #define CONFIG_HAS |
| 57 | #define CONFIG_BAZ 64 |
| 58 | will be defined in include/config.h. |
| 59 | This option was prepared for the smooth migration from the old |
| 60 | configuration to Kconfig. Since this option will be removed sometime, |
| 61 | new boards should not use this option. |
| 62 | |
| 63 | endmenu # General setup |
| 64 | |
| 65 | source "arch/Kconfig" |