Skip to content

Commit d85eb41

Browse files
andy-shevrafaeljw
authored andcommitted
ACPI: x86: Introduce a Makefile
There will be more modules coming here, so, introduce a separate Makefile and include it in parent one via obj-$(CONFIG_X86). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 1b2a34f commit d85eb41

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

drivers/acpi/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ acpi-y += evged.o
5656
acpi-y += sysfs.o
5757
acpi-y += property.o
5858
acpi-$(CONFIG_X86) += acpi_cmos_rtc.o
59-
acpi-$(CONFIG_X86) += x86/apple.o
60-
acpi-$(CONFIG_X86) += x86/utils.o
61-
acpi-$(CONFIG_X86) += x86/s2idle.o
6259
acpi-$(CONFIG_DEBUG_FS) += debugfs.o
6360
acpi-y += acpi_lpat.o
6461
acpi-$(CONFIG_ACPI_FPDT) += acpi_fpdt.o
@@ -132,3 +129,4 @@ obj-$(CONFIG_ARM64) += arm64/
132129
obj-$(CONFIG_ACPI_VIOT) += viot.o
133130

134131
obj-$(CONFIG_RISCV) += riscv/
132+
obj-$(CONFIG_X86) += x86/

drivers/acpi/x86/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
obj-$(CONFIG_ACPI) += acpi-x86.o
2+
acpi-x86-y += apple.o
3+
acpi-x86-y += s2idle.o
4+
acpi-x86-y += utils.o

0 commit comments

Comments
 (0)