]> git.ipfire.org Git - people/arne_f/kernel.git/blob - arch/x86/realmode/rm/wakeup/Makefile
x86, realmode: don't copy real_mode_header
[people/arne_f/kernel.git] / arch / x86 / realmode / rm / wakeup / Makefile
1 #
2 # arch/x86/kernel/acpi/realmode/Makefile
3 #
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
6 # for more details.
7 #
8
9 always := wakeup.o
10
11 wakeup-y += wakeup_asm.o wakemain.o video-mode.o
12 wakeup-y += copy.o bioscall.o regs.o
13
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
21
22 targets += $(wakeup-y)
23
24 WAKEUP_OBJS = $(addprefix $(obj)/,$(wakeup-y))
25
26 LDFLAGS_wakeup.o := -m elf_i386 -r
27 $(obj)/wakeup.o: $(WAKEUP_OBJS) FORCE
28 $(call if_changed,ld)
29
30 bootsrc := $(src)/../../../boot
31
32 ccflags-y += -D_WAKEUP -I$(srctree)/$(bootsrc)
33 asflags-y += -D_WAKEUP -I$(srctree)/$(bootsrc)