2 # arch/x86/kernel/acpi/realmode/Makefile
4 # This file is subject to the terms and conditions of the GNU General Public
5 # License. See the file "COPYING" in the main directory of this archive
11 wakeup-y += wakeup_asm.o wakemain.o video-mode.o
12 wakeup-y += copy.o bioscall.o regs.o
14 # The link order of the video-*.o modules can matter. In particular,
15 # video-vga.o *must* be listed first, followed by video-vesa.o.
16 # Hardware-specific drivers should follow in the order they should be
17 # probed, and video-bios.o should typically be last.
18 wakeup-y += video-vga.o
19 wakeup-y += video-vesa.o
20 wakeup-y += video-bios.o
22 targets += $(wakeup-y)
24 WAKEUP_OBJS = $(addprefix $(obj)/,$(wakeup-y))
26 LDFLAGS_wakeup.o := -m elf_i386 -r
27 $(obj)/wakeup.o: $(WAKEUP_OBJS) FORCE
30 bootsrc := $(src)/../../../boot
32 ccflags-y += -D_WAKEUP -I$(srctree)/$(bootsrc)
33 asflags-y += -D_WAKEUP -I$(srctree)/$(bootsrc)