summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-26 15:18:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-26 15:18:01 +0100
commitdbfdeaeb46453d300b975dcfb6790f3b16f9e6b5 (patch)
treefbba8492efcb3536c1606a659308e9f0ca75ea20 /target/linux
parent4969392a108205efe43203a9df4a20c749554479 (diff)
implement the concept of target choice by embedded system or architecture
you can now choose between specific embedded systems like PC Engines ALIX boards, Foxboard, .. or between generic architecture support like x86, x86_64, mips, ... This does reduce the overhead of duplicate configuration files in target directory. Now qemu, toolchain and ibm x40 support is combined in one target directory target/x86. Distinguishing between hardware profiles happens via menu based configuration. (CPU choice for kernel, CFLAGS for package building, ..). We will see if this is the right direction.
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.block2
-rw-r--r--target/linux/config/Config.in.graphics2
-rw-r--r--target/linux/config/Config.in.input16
-rw-r--r--target/linux/config/Config.in.misc2
-rw-r--r--target/linux/config/Config.in.multimedia5
-rw-r--r--target/linux/config/Config.in.netdevice6
-rw-r--r--target/linux/config/Config.in.usb6
7 files changed, 20 insertions, 19 deletions
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 766684f16..3209dca1c 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -53,7 +53,7 @@ config ADK_KERNEL_ATA_PIIX
select ADK_KERNEL_ATA
select ADK_KERNEL_ATA_SFF
select ADK_KERNEL_BLK_DEV_SD
- default y if ADK_HARDWARE_IBMX40
+ default y if ADK_HARDWARE_IBM_X40
default y if ADK_HARDWARE_QEMU_X86
default y if ADK_HARDWARE_QEMU_X86_64
default n
diff --git a/target/linux/config/Config.in.graphics b/target/linux/config/Config.in.graphics
index bd737fc70..dd4df958c 100644
--- a/target/linux/config/Config.in.graphics
+++ b/target/linux/config/Config.in.graphics
@@ -53,7 +53,7 @@ config ADK_HARDWARE_GRAPHICS_INTEL
select ADK_KERNEL_FRAMEBUFFER_CONSOLE
select ADK_KERNEL_DRM_I915_KMS
select ADK_KERNEL_DRM_I915
- default y if ADK_HARDWARE_IBMX40
+ default y if ADK_HARDWARE_IBM_X40
default n
help
DRM support for intel chipsets.
diff --git a/target/linux/config/Config.in.input b/target/linux/config/Config.in.input
index 0d4f7fcbc..292e46e0f 100644
--- a/target/linux/config/Config.in.input
+++ b/target/linux/config/Config.in.input
@@ -3,26 +3,26 @@ depends on ADK_TARGET_WITH_USB || ADK_TARGET_WITH_INPUT
config ADK_KERNEL_INPUT
boolean
- default y if ADK_HARDWARE_IBMX40
- default y if ADK_HARDWARE_SHUTTLE
+ default y if ADK_HARDWARE_IBM_X40
+ default y if ADK_HARDWARE_SHUTTLE_SA76G2
default n
config ADK_KERNEL_INPUT_KEYBOARD
boolean
- default y if ADK_HARDWARE_IBMX40
- default y if ADK_HARDWARE_SHUTTLE
+ default y if ADK_HARDWARE_IBM_X40
+ default y if ADK_HARDWARE_SHUTTLE_SA76G2
default n
config ADK_KERNEL_KEYBOARD_ATKBD
boolean
- default y if ADK_HARDWARE_IBMX40
- default y if ADK_HARDWARE_SHUTTLE
+ default y if ADK_HARDWARE_IBM_X40
+ default y if ADK_HARDWARE_SHUTTLE_SA76G2
default n
config ADK_KERNEL_INPUT_MOUSEDEV
boolean
- default y if ADK_HARDWARE_IBMX40
- default y if ADK_HARDWARE_SHUTTLE
+ default y if ADK_HARDWARE_IBM_X40
+ default y if ADK_HARDWARE_SHUTTLE_SA76G2
default n
config ADK_KERNEL_HID_SUPPORT
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index 8663f30e5..a51d48ee3 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -142,7 +142,7 @@ config ADK_KPACKAGE_KMOD_EEPROM_93CX6
prompt "kmod-eeprom-93cx6................. 93cx6 eeprom support"
tristate
depends on ADK_KPACKAGE_KMOD_MAC80211
- depends on !ADK_LINUX_CRIS_FOXBOARD && !ADK_LINUX_MIPS64_LEMOTE
+ depends on !ADK_LINUX_CRIS_FOXBOARD && !ADK_HARDWARE_LEMOTE_YEELONG
default n
help
diff --git a/target/linux/config/Config.in.multimedia b/target/linux/config/Config.in.multimedia
index 66340e373..bd45e0c35 100644
--- a/target/linux/config/Config.in.multimedia
+++ b/target/linux/config/Config.in.multimedia
@@ -99,8 +99,9 @@ config ADK_KPACKAGE_KMOD_SND_CS5535AUDIO
prompt "kmod-sound-alsa-cs5535......... ALSA AMD CS5535 driver"
depends on ADK_KPACKAGE_KMOD_SND
select ADK_KPACKAGE_KMOD_SND_AC97_CODEC
- depends on ADK_LINUX_X86_ALIX || ADK_LINUX_MIPS64_LEMOTE || ADK_NATIVE
tristate
+ default y if ADK_HARDWARE_LEMOTE_YEELONG
+ default y if ADK_HARDWARE_ALIX1C
default n
help
ALSA AMD CS5535 driver
@@ -128,7 +129,7 @@ config ADK_KPACKAGE_KMOD_VIDEO_DEV
config ADK_KPACKAGE_KMOD_USB_VIDEO_CLASS
prompt "kmod-usb-video-class............ Kernel driver for USB video webcams"
tristate
- depends on ADK_KPACKAGE_KMOD_USB || ADK_LINUX_MIPS64_LEMOTE
+ depends on ADK_KPACKAGE_KMOD_USB || ADK_HARDWARE_LEMOTE_YEELONG
select ADK_KPACKAGE_KMOD_VIDEO_DEV
default n
help
diff --git a/target/linux/config/Config.in.netdevice b/target/linux/config/Config.in.netdevice
index 0836e224d..a6a274813 100644
--- a/target/linux/config/Config.in.netdevice
+++ b/target/linux/config/Config.in.netdevice
@@ -78,7 +78,7 @@ config ADK_KPACKAGE_KMOD_E1000
select ADK_KERNEL_NETDEVICES
select ADK_KERNEL_NET_ETHERNET
select ADK_KERNEL_NETDEV_1000
- default y if ADK_HARDWARE_IBMX40
+ default y if ADK_HARDWARE_IBM_X40
default y if ADK_HARDWARE_QEMU_X86
default y if ADK_HARDWARE_QEMU_X86_64
default n
@@ -95,7 +95,7 @@ config ADK_KPACKAGE_KMOD_SKY2
select ADK_KERNEL_NETDEVICES
select ADK_KERNEL_NET_ETHERNET
select ADK_KERNEL_NETDEV_1000
- default y if ADK_HARDWARE_SHUTTLE
+ default y if ADK_HARDWARE_SHUTTLE_SA76G2
default n
help
@@ -185,7 +185,7 @@ config ADK_KPACKAGE_KMOD_ATH5K
select ADK_KERNEL_ATH_COMMON
select ADK_KPACKAGE_KMOD_MAC80211
depends on ADK_TARGET_WITH_MINIPCI || ADK_TARGET_WITH_PCI
- default y if ADK_HARDWARE_IBMX40
+ default y if ADK_HARDWARE_IBM_X40
default n
help
Driver for Atheros 5xxx/24xx cards.
diff --git a/target/linux/config/Config.in.usb b/target/linux/config/Config.in.usb
index 9f25aed81..9a07efcb7 100644
--- a/target/linux/config/Config.in.usb
+++ b/target/linux/config/Config.in.usb
@@ -31,7 +31,7 @@ config ADK_KPACKAGE_KMOD_USB
default y if ADK_HARDWARE_ALIX1C
default y if ADK_HARDWARE_ALIX2D2
default y if ADK_HARDWARE_ALIX2D13
- default y if ADK_HARDWARE_IBMX40
+ default y if ADK_HARDWARE_IBM_X40
default n
depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 || ADK_KERNEL_USB)
select ADK_KERNEL_NLS
@@ -86,7 +86,7 @@ config ADK_KPACKAGE_KMOD_USB_OHCI_HCD
default y if ADK_HARDWARE_ALIX1C
default y if ADK_HARDWARE_ALIX2D2
default y if ADK_HARDWARE_ALIX2D13
- default y if ADK_HARDWARE_IBMX40
+ default y if ADK_HARDWARE_IBM_X40
default n
depends on !ADK_LINUX_CRIS_FOXBOARD
depends on ADK_KPACKAGE_KMOD_USB
@@ -135,7 +135,7 @@ config ADK_KPACKAGE_KMOD_USB_EHCI_HCD
default y if ADK_HARDWARE_ALIX1C
default y if ADK_HARDWARE_ALIX2D2
default y if ADK_HARDWARE_ALIX2D13
- default y if ADK_HARDWARE_IBMX40
+ default y if ADK_HARDWARE_IBM_X40
default n
depends on ADK_KPACKAGE_KMOD_USB
select ADK_PACKAGE_KMOD_USB_CONTROLLER