# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

mainmenu "OpenADK Configuration"

# enable tristate
config ADK_MODULES
	bool
	option modules
	default y

config ADK_HAVE_DOT_CONFIG
	bool
	default y

source "target/config/Config.in.os"
source "target/config/Config.in.hardware"
source "target/config/Config.in.boards"
source "target/config/Config.in.kernelfmt"
source "target/config/Config.in.arch"
source "target/config/Config.in.endian"
source "target/config/Config.in.system"
source "target/config/Config.in.systemopts"
source "target/config/Config.in.subsystem"
source "target/config/Config.in.qemuopts"
source "target/config/Config.in.cpu"
source "target/config/Config.in.addons"

comment "After you saved your configuration once, you shouldn't change anything above"
	depends on ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH

source "target/config/Config.in.tasks"

menu "Firmware configuration"
	visible if ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
source "target/config/Config.in.rootfs"
endmenu

source "target/config/Config.in"

menu "Package selection"
	visible if ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
source "package/Config.in.auto.global"
source "package/Config.in"
menu "Package options"
source "package/Config.in.options"
endmenu
endmenu

menu "Runtime configuration"
	visible if ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
source "target/config/Config.in.runtime"
endmenu

menu "Linux Kernel configuration"
	visible if ADK_TARGET_OS_LINUX && !ADK_TARGET_CHOOSE_ARCH
source "target/config/Config.in.kernelversion"
source "target/config/Config.in.kernelcfg"
source "target/config/Config.in.kernelcmd"
source "target/linux/config/Config.in.compression"

menu "Advanced Kernel configuration"
	visible if ADK_TARGET_OS_LINUX && ADK_TARGET_KERNEL_CUSTOMISING && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH && !ADK_TARGET_KERNEL_USE_DEFCONFIG && !ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
source "target/linux/Config.in"
endmenu
endmenu

menu "Frosted configuration"
	visible if ADK_TARGET_OS_FROSTED && !ADK_TARGET_CHOOSE_ARCH
source "target/frosted/Config.in"
endmenu

menu "Toolchain settings"
	visible if !ADK_TARGET_CHOOSE_ARCH

config ADK_VENDOR
	string "Vendor name"
	default "openadk"
	help
	  Vendor string is used for toolchain.

source "target/config/Config.in.archopts"
source "target/config/Config.in.fpu"
source "target/config/Config.in.float"
source "target/config/Config.in.binfmt"
source "target/config/Config.in.libc"
source "target/config/Config.in.abi"
source "target/config/Config.in.binutils"
source "target/config/Config.in.compiler"
source "target/config/Config.in.gdb"
source "target/config/Config.in.toolchain"
endmenu

source "target/config/Config.in.adk"
