summaryrefslogtreecommitdiff
path: root/package/Config.in.options
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-05 12:51:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-07 06:42:57 +0100
commitc384dc577bd32f3315bacb410fc31610b41f742c (patch)
tree903aaed00f4b82d5e1eada2bd4fea8a7f3387ded /package/Config.in.options
parent68d4e79f35039b31ae835e82241a567b0ad66aa8 (diff)
rework menu based config system
After the addition of bare metal toolchains the menu system allowed to create non-valid configurations. I reworked it so we can also add other operating system support if we wish. So first you choose your operating system, then your architecture and endianess, after that your embedded system, emulator or generic device and then you choose your task you want to run. Tasks may be toolchain, a new appliance/application or some preconfigured sets of packages and configurations as kodi, mpd, firefox and more. The tasks are limited to a plausible choice of hardware and software. Deduplicate CPU configuration. You don't wanna compile Kodi for a H8/300 microcontroller ;)
Diffstat (limited to 'package/Config.in.options')
-rw-r--r--package/Config.in.options72
1 files changed, 72 insertions, 0 deletions
diff --git a/package/Config.in.options b/package/Config.in.options
new file mode 100644
index 000000000..a806da895
--- /dev/null
+++ b/package/Config.in.options
@@ -0,0 +1,72 @@
+config ADK_PACKAGE_SUFFIX
+ string
+ default "ipk" if ADK_TARGET_PACKAGE_IPKG
+ default "ipk" if ADK_TARGET_PACKAGE_OPKG
+ default "tar.xz" if ADK_TARGET_PACKAGE_TXZ
+
+choice
+prompt "Package format"
+default ADK_TARGET_PACKAGE_TXZ
+
+config ADK_TARGET_PACKAGE_TXZ
+ bool "xz compressed tar archive"
+ help
+ Create compressed tar archives of packages.
+ Pre- and post install scripts will be executed in the target
+ directory. There will be no package manager installed onto the target.
+
+config ADK_TARGET_PACKAGE_IPKG
+ bool "ipkg"
+ select BUSYBOX_IPKG
+ help
+ Create ipkg packages and use ipkg package management on the target.
+
+config ADK_TARGET_PACKAGE_OPKG
+ bool "opkg"
+ select ADK_PACKAGE_OPKG
+ select ADK_HOST_NEED_OPKG
+ help
+ Create opkg packages and use opkg package management on the target.
+
+endchoice
+config ADK_LEAVE_ETC_ALONE
+ bool "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
+ bool "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
+ bool "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.
+
+