Skip to content

Commit

Permalink
x86_64: prepare shared kernel/acpi/Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner committed Oct 11, 2007
1 parent 08c81f4 commit f11cfb4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
12 changes: 4 additions & 8 deletions arch/x86_64/kernel/acpi/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
obj-y := boot.o
boot-y := ../../../i386/kernel/acpi/boot.o
obj-$(CONFIG_ACPI_SLEEP) += sleep_64.o wakeup_64.o

ifneq ($(CONFIG_ACPI_PROCESSOR),)
obj-y += processor.o
processor-y := ../../../i386/kernel/acpi/processor.o ../../../i386/kernel/acpi/cstate.o
ifeq ($(CONFIG_X86_32),y)
include ${srctree}/arch/i386/kernel/acpi/Makefile_32
else
include ${srctree}/arch/x86_64/kernel/acpi/Makefile_64
endif

9 changes: 9 additions & 0 deletions arch/x86_64/kernel/acpi/Makefile_64
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
obj-y := boot.o
boot-y := ../../../i386/kernel/acpi/boot.o
obj-$(CONFIG_ACPI_SLEEP) += sleep_64.o wakeup_64.o

ifneq ($(CONFIG_ACPI_PROCESSOR),)
obj-y += processor.o
processor-y := ../../../i386/kernel/acpi/processor.o ../../../i386/kernel/acpi/cstate.o
endif

0 comments on commit f11cfb4

Please sign in to comment.