From 178690383a5c6567a3031f87569425654b57064f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 30 Nov 2010 03:21:25 +0100 Subject: enable hardware profile on native configurations --- target/linux/config/Config.in.block | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux') diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block index 20e778314..4415489c1 100644 --- a/target/linux/config/Config.in.block +++ b/target/linux/config/Config.in.block @@ -53,6 +53,7 @@ config ADK_KERNEL_CONNECTOR config ADK_KERNEL_ATA_PIIX boolean select ADK_KERNEL_BLOCK + select ADK_KERNEL_SCSI select ADK_KERNEL_ATA select ADK_KERNEL_ATA_SFF select ADK_KERNEL_BLK_DEV_SD -- cgit v1.2.3 From 5265f6b35db3d3cd1af9cb64936ada0e62ed9f32 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 30 Nov 2010 21:20:55 +0100 Subject: make ACPI choosable and enable for ibm x40 --- target/linux/Config.in | 1 + target/linux/config/Config.in.pm | 43 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 target/linux/config/Config.in.pm (limited to 'target/linux') diff --git a/target/linux/Config.in b/target/linux/Config.in index 65fc7fbbb..a68bbadb6 100644 --- a/target/linux/Config.in +++ b/target/linux/Config.in @@ -15,5 +15,6 @@ source target/linux/config/Config.in.bluetooth source target/linux/config/Config.in.leds source target/linux/config/Config.in.misc source target/linux/config/Config.in.lib +source target/linux/config/Config.in.pm source target/linux/config/Config.in.kvm source target/linux/config/Config.in.debug diff --git a/target/linux/config/Config.in.pm b/target/linux/config/Config.in.pm new file mode 100644 index 000000000..f6c2ca025 --- /dev/null +++ b/target/linux/config/Config.in.pm @@ -0,0 +1,43 @@ +config ADK_KERNEL_PM + boolean + +config ADK_KERNEL_ACPI + boolean + +config ADK_KERNEL_ACPI_SYSFS_POWER + boolean + +config ADK_KERNEL_ACPI_AC + boolean + +config ADK_KERNEL_ACPI_BATTERY + boolean + +config ADK_KERNEL_ACPI_BUTTON + boolean + +config ADK_KERNEL_ACPI_FAN + boolean + +config ADK_KERNEL_ACPI_DOCK + boolean + +menu "Power Management support" + +config ADK_HARDWARE_ACPI + prompt "Enable ACPI support" + boolean + select ADK_KERNEL_PM + select ADK_KERNEL_ACPI + select ADK_KERNEL_ACPI_SYSFS_POWER + select ADK_KERNEL_ACPI_AC + select ADK_KERNEL_ACPI_BATTERY + select ADK_KERNEL_ACPI_BUTTON + select ADK_KERNEL_ACPI_FAN + select ADK_KERNEL_ACPI_DOCK + default y if ADK_HARDWARE_IBM_X40 + default n + help + Enable ACPI support. + +endmenu -- cgit v1.2.3 From 5310d69401ee042e708ae9137b210f0883afcb31 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 30 Nov 2010 23:35:46 +0100 Subject: fix sound on ibm x40 --- target/linux/config/Config.in.multimedia | 51 ++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 19 deletions(-) (limited to 'target/linux') diff --git a/target/linux/config/Config.in.multimedia b/target/linux/config/Config.in.multimedia index bd45e0c35..d3261523e 100644 --- a/target/linux/config/Config.in.multimedia +++ b/target/linux/config/Config.in.multimedia @@ -44,68 +44,80 @@ config ADK_KPACKAGE_KMOD_SND_RAWMIDI default n help +menu "Audio devices support" config ADK_KPACKAGE_KMOD_SND - prompt "kmod-sound-alsa................. ALSA sound support" + prompt "kmod-snd...................... ALSA sound support" + tristate select ADK_KPACKAGE_KMOD_SOUND select ADK_KERNEL_SND_OSSEMUL select ADK_KERNEL_SND_TIMER select ADK_KERNEL_SND_PCM select ADK_KERNEL_SND_HWDEP - tristate default n help Basic ALSA sound support. config ADK_KPACKAGE_KMOD_SND_OSSEMUL - prompt "kmod-sound-alsa-oss-emul....... ALSA OSS Emulation" - depends on ADK_KPACKAGE_KMOD_SND + prompt "kmod-snd-ossemul.............. ALSA OSS Emulation" + tristate select ADK_KERNEL_SND_MIXER_OSS select ADK_KERNEL_SND_PCM_OSS - tristate + select ADK_KPACKAGE_KMOD_SND + default y if ADK_HARDWARE_IBM_X40 default n help ALSA OSS Emulation config ADK_KPACKAGE_KMOD_SND_AC97_CODEC - prompt "kmod-sound-alsa-ac97-codec..... ALSA AC97 codec" - depends on ADK_KPACKAGE_KMOD_SND + prompt "kmod-snd-ac97-codec........... ALSA AC97 codec" + tristate depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 ) - select ADK_KERNEL_SND_AC97_CODEC + default n + help + ALSA AC97 codec support. + +config ADK_KPACKAGE_KMOD_SND_INTEL8X0 + prompt "kmod-snd-intel8x0............. Intel AC97 driver" tristate + select ADK_KPACKAGE_KMOD_SND_AC97_CODEC + select ADK_KPACKAGE_KMOD_SND + default y if ADK_HARDWARE_IBM_X40 default n help - ALSA AC97 driver + Driver for intel chipsets. config ADK_KPACKAGE_KMOD_SND_VIA82XX - prompt "kmod-sound-alsa-via82xx........ ALSA VIA82XX driver" - depends on ADK_KPACKAGE_KMOD_SND - depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 ) - select ADK_KPACKAGE_KMOD_SND_AC97_CODEC + prompt "kmod-snd-via82xx.............. ALSA VIA82XX driver" tristate + depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 ) + select ADK_KPACKAGE_KMOD_SND default n help ALSA VIA82XX driver config ADK_KPACKAGE_KMOD_SND_ENS1370 - prompt "kmod-sound-alsa-ens1370........ ALSA Ensoniq 1370 driver" - depends on ADK_KPACKAGE_KMOD_SND - depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 ) + prompt "kmod-snd-ens1370.............. ALSA Ensoniq 1370 driver" tristate + depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 ) + select ADK_KPACKAGE_KMOD_SND default n help ALSA Ensonique 1370 driver 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 + prompt "kmod-snd-cs5535audio.......... ALSA AMD CS5535 driver" tristate + select ADK_KPACKAGE_KMOD_SND_AC97_CODEC + select ADK_KPACKAGE_KMOD_SND default y if ADK_HARDWARE_LEMOTE_YEELONG default y if ADK_HARDWARE_ALIX1C default n help ALSA AMD CS5535 driver +endmenu + +menu "Video devices support" config ADK_KPACKAGE_KMOD_VIDEO_DEV prompt "kmod-video-dev.................. Video (For Linux) kernel support" tristate @@ -142,3 +154,4 @@ config ADK_KPACKAGE_KMOD_USB_PWC help endmenu +endmenu -- cgit v1.2.3 From d9730197219dda09ba7a0d5321c399e0d11d23e7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 1 Dec 2010 22:42:20 +0100 Subject: fix ipkg and ipkg tools, consolidate mdev.conf cpio under macosx or bsd creates tar archives via stdin while using find . with leading ./. heirloom cpio shipped with OpenADK does remove the leading ./. Adopt ipkg busybox applet to work without ./. Fix ipkg-build to be faster and to use included cpio for inner tar creation. Dependency to GNU tar can now be dropped. --- target/linux/config/Config.in.multimedia | 19 +++++++------------ target/linux/config/Config.in.pm | 9 +++++++++ 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'target/linux') diff --git a/target/linux/config/Config.in.multimedia b/target/linux/config/Config.in.multimedia index d3261523e..c6dd6ed26 100644 --- a/target/linux/config/Config.in.multimedia +++ b/target/linux/config/Config.in.multimedia @@ -5,10 +5,6 @@ config ADK_KERNEL_MEDIA_SUPPORT boolean default n -config ADK_KERNEL_SND_AC97_CODEC - boolean - default n - config ADK_KERNEL_SND_TIMER boolean default n @@ -44,7 +40,14 @@ config ADK_KPACKAGE_KMOD_SND_RAWMIDI default n help +config ADK_KPACKAGE_KMOD_SND_AC97_CODEC + tristate + default n + help + ALSA AC97 codec support. + menu "Audio devices support" + config ADK_KPACKAGE_KMOD_SND prompt "kmod-snd...................... ALSA sound support" tristate @@ -68,14 +71,6 @@ config ADK_KPACKAGE_KMOD_SND_OSSEMUL help ALSA OSS Emulation -config ADK_KPACKAGE_KMOD_SND_AC97_CODEC - prompt "kmod-snd-ac97-codec........... ALSA AC97 codec" - tristate - depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 ) - default n - help - ALSA AC97 codec support. - config ADK_KPACKAGE_KMOD_SND_INTEL8X0 prompt "kmod-snd-intel8x0............. Intel AC97 driver" tristate diff --git a/target/linux/config/Config.in.pm b/target/linux/config/Config.in.pm index f6c2ca025..45e674efb 100644 --- a/target/linux/config/Config.in.pm +++ b/target/linux/config/Config.in.pm @@ -40,4 +40,13 @@ config ADK_HARDWARE_ACPI help Enable ACPI support. +config ADK_KERNEL_SUSPEND + prompt "Enable Suspend support" + boolean + select ADK_KERNEL_PM + default y if ADK_HARDWARE_IBM_X40 + default n + help + Enable Suspend-to-RAM and Suspend-to-Disk support. + endmenu -- cgit v1.2.3