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

config ADKVERSION
	string
	option env="ADKVERSION"

config MODULES
	bool
	default y

config ADK_HAVE_DOT_CONFIG
	bool
	default y

mainmenu "OpenADK Configuration"

config ADK_CHOOSE_TARGET_SYSTEM
	boolean
	default y if ADK_CHOOSE_TARGET_SYSTEM_ARM
	default y if ADK_CHOOSE_TARGET_SYSTEM_CRIS
	default y if ADK_CHOOSE_TARGET_SYSTEM_MIPS
	default y if ADK_CHOOSE_TARGET_SYSTEM_PPC
	default y if ADK_CHOOSE_TARGET_SYSTEM_PPC64
	default y if ADK_CHOOSE_TARGET_SYSTEM_SPARC
	default y if ADK_CHOOSE_TARGET_SYSTEM_SPARC64
	default y if ADK_CHOOSE_TARGET_SYSTEM_X86
	default y if ADK_CHOOSE_TARGET_SYSTEM_X86_64
	default n

source "target/config/Config.in"

menu "Runtime configuration"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
source "target/config/Config.in.runtime"
endmenu

menu "Package collection"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
source "target/packages/Config.in"
endmenu

menu "Package selection"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM

config ADK_INSTALL_PACKAGE_INIT_SCRIPTS
	boolean "ship custom init-scripts along with packages"
	default y
	help
	  Turning this option to false will prevent the ADK from
	  installing init-scripts (i.e. files in /etc/init.d) for
	  certain daemons and daemon-like applications.

	  Note that without further customisation, turning this option
	  off will almost certainly render the resulting system unusable.

config ADK_INSTALL_PACKAGE_NETWORK_SCRIPTS
	boolean "ship custom network-scripts along with packages"
	default y
	help
	  Turning this option to false will prevent the ADK from
	  installing network-scripts (i.e. files in /etc/network/) for
	  packages providing any.

	  Note that without further customisation, turning this option
	  off will almost certainly render the resulting system unusable.

source "package/Config.in.auto.global"
source "package/Config.in.auto"
endmenu

menu "Kernel configuration"
depends on !ADK_TOOLCHAIN_ONLY && !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM && ADK_TARGET_KERNEL_CUSTOMISING
source "target/linux/Config.in"
endmenu

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