Lines Matching +full:force +full:- +full:mode
20 # callback into middle of per-cpu data enabling code. Thus the callback observed
25 # If you want to preset the SVGA mode, uncomment the next line and
27 # Set it to -DSVGA_MODE=NORMAL_VGA if you just want the EGA/VGA mode.
30 SVGA_MODE := -DSVGA_MODE=NORMAL_VGA
34 subdir- := compressed
36 setup-y += a20.o bioscall.o cmdline.o copy.o cpu.o cpuflags.o cpucheck.o
37 setup-y += early_serial_console.o edd.o header.o main.o memory.o
38 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o
39 setup-y += video-mode.o version.o
40 setup-$(CONFIG_X86_APM_BOOT) += apm.o
42 # The link order of the video-*.o modules can matter. In particular,
43 # video-vga.o *must* be listed first, followed by video-vesa.o.
44 # Hardware-specific drivers should follow in the order they should be
45 # probed, and video-bios.o should typically be last.
46 setup-y += video-vga.o
47 setup-y += video-vesa.o
48 setup-y += video-bios.o
50 targets += $(setup-y)
54 HOST_EXTRACFLAGS += -I$(srctree)/tools/include \
55 -include include/generated/autoconf.h \
56 -D__EXPORTED_HEADERS__
62 $(obj)/cpustr.h: $(obj)/mkcpustr FORCE
66 # ---------------------------------------------------------------------------
68 KBUILD_CFLAGS := $(REALMODE_CFLAGS) -D_SETUP
69 KBUILD_AFLAGS := $(KBUILD_CFLAGS) -D__ASSEMBLY__
70 KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
71 KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
75 $(obj)/bzImage: asflags-y := $(SVGA_MODE)
82 $(obj)/bzImage: $(obj)/setup.bin $(obj)/vmlinux.bin $(obj)/tools/build FORCE
86 OBJCOPYFLAGS_vmlinux.bin := -O binary -R .note -R .comment -S
87 $(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE
90 SETUP_OBJS = $(addprefix $(obj)/,$(setup-y))
92 sed-zoffset := -e 's/^\([0-9a-fA-F]*\) [a-zA-Z] \(startup_32\|efi.._stub_entry\|efi\(32\)\?_pe_entr…
95 cmd_zoffset = $(NM) $< | sed -n $(sed-zoffset) > $@
98 $(obj)/zoffset.h: $(obj)/compressed/vmlinux FORCE
102 AFLAGS_header.o += -I$(objtree)/$(obj)
105 LDFLAGS_setup.elf := -m elf_i386 -z noexecstack -T
106 $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE
109 OBJCOPYFLAGS_setup.bin := -O binary
110 $(obj)/setup.bin: $(obj)/setup.elf FORCE
113 $(obj)/compressed/vmlinux: FORCE
125 sed -e 's|@OBJ@|$(obj)|g' < $< > $@