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

config MODULES
	boolean
	default y

config ADK_HAVE_DOT_CONFIG
	boolean
	default y

mainmenu "OpenADK Configuration"

source "target/config/Config.in.system.choose"
source "target/config/Config.in.cpu"
source "target/config/Config.in.hardware"
source "target/config/Config.in.kernel"
source "target/config/Config.in.arch"
source "target/config/Config.in.system"
source "target/config/Config.in.endian"
source "target/config/Config.in.abi"
source "target/config/Config.in.arm"
source "target/config/Config.in.x86"
source "target/config/Config.in.qemu"
source "target/config/Config.in.qemuopts"
source "target/config/Config.in.kernelversion"

menu "Target configuration"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
source "target/config/Config.in.libc"
source "target/config/Config.in.target"
endmenu

source "target/config/Config.in"

menu "Package collection"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
source "package/Config.in.collections"
endmenu

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

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

menu "Package options"
config ADK_LEAVE_ETC_ALONE
	boolean "do not install anything into /etc"
	default n
	help
	  Enabling this option will prevent the ADK from installing anything
	  into /etc. This is useful for highly customised setups with custom
	  base-files packages.

	  Package Makefiles can override this setting by passing "force_etc" to
	  the package-template.  to a non-empty value. This is useful for
	  packages traditionally installing non-config stuff into /etc, like
	  e.g. ca-certificates.

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

config ADK_INSTALL_PACKAGE_INIT_SCRIPTS
	boolean "ship custom init-scripts along with packages"
	default y
	depends on !ADK_LEAVE_ETC_ALONE
	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
	depends on !ADK_LEAVE_ETC_ALONE
	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.

endmenu
endmenu

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

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

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