summaryrefslogtreecommitdiff
path: root/target/linux/config
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 /target/linux/config
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 'target/linux/config')
-rw-r--r--target/linux/config/Config.in.i2c4
-rw-r--r--target/linux/config/Config.in.watchdog2
-rw-r--r--target/linux/config/Config.in.xtensa4
3 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/config/Config.in.i2c b/target/linux/config/Config.in.i2c
index dbfac7f89..5956073d3 100644
--- a/target/linux/config/Config.in.i2c
+++ b/target/linux/config/Config.in.i2c
@@ -48,10 +48,10 @@ config ADK_KERNEL_I2C_IMX
config ADK_KERNEL_SCX200_ACB
tristate "I2C driver for Geode"
- depends on ADK_CPU_GEODE
+ depends on ADK_TARGET_CPU_X86_GEODE
select ADK_KERNEL_I2C
select ADK_KERNEL_I2C_CHARDEV
- default y if ADK_CPU_GEODE
+ default y if ADK_TARGET_CPU_X86_GEODE
default n
help
I2C driver for Geode boards.
diff --git a/target/linux/config/Config.in.watchdog b/target/linux/config/Config.in.watchdog
index 07f8e8957..f277c8c01 100644
--- a/target/linux/config/Config.in.watchdog
+++ b/target/linux/config/Config.in.watchdog
@@ -63,7 +63,7 @@ config ADK_KERNEL_AR7_WDT
config ADK_KERNEL_GEODE_WDT
bool "Geode Hardware Watchdog"
- depends on ADK_CPU_GEODE
+ depends on ADK_TARGET_SYSTEM_PCENGINES_ALIX
select ADK_KERNEL_WATCHDOG
select ADK_KERNEL_MISC_DEVICES
select ADK_KERNEL_CS5535_MFGPT
diff --git a/target/linux/config/Config.in.xtensa b/target/linux/config/Config.in.xtensa
index 3839251ee..3f9c33f52 100644
--- a/target/linux/config/Config.in.xtensa
+++ b/target/linux/config/Config.in.xtensa
@@ -15,8 +15,8 @@ config ADK_KERNEL_XTENSA_VARIANT_CUSTOM
config ADK_KERNEL_XTENSA_VARIANT_CUSTOM_NAME
string
- default "de212" if ADK_TARGET_XTENSA_DE212
+ default "de212" if ADK_TARGET_CPU_XTENSA_DE212
config ADK_KERNEL_BUILTIN_DTB
string
- default "kc705_nommu" if ADK_TARGET_XTENSA_DE212
+ default "kc705_nommu" if ADK_TARGET_CPU_XTENSA_DE212