summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/Config.in1
-rw-r--r--target/linux/config/Config.in.pm43
2 files changed, 44 insertions, 0 deletions
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