xref: /linux/arch/x86/Makefile (revision 9fcb51c14da2953de585c5c6e50697b8a6e91a7b)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
274b469f2SSam Ravnborg# Unified Makefile for i386 and x86_64
374b469f2SSam Ravnborg
42266cfd5SSam Ravnborg# select defconfig based on actual architecture
5d746d647SSam Ravnborgifeq ($(ARCH),x86)
6ffee0de4SDavid Woodhouse  ifeq ($(shell uname -m),x86_64)
7ffee0de4SDavid Woodhouse        KBUILD_DEFCONFIG := x86_64_defconfig
8ffee0de4SDavid Woodhouse  else
9d746d647SSam Ravnborg        KBUILD_DEFCONFIG := i386_defconfig
10ffee0de4SDavid Woodhouse  endif
11d746d647SSam Ravnborgelse
122266cfd5SSam Ravnborg        KBUILD_DEFCONFIG := $(ARCH)_defconfig
13d746d647SSam Ravnborgendif
142266cfd5SSam Ravnborg
15d77698dfSMatthias Kaehlcke# For gcc stack alignment is specified with -mpreferred-stack-boundary,
16d77698dfSMatthias Kaehlcke# clang has the option -mstack-alignment for that purpose.
17d77698dfSMatthias Kaehlckeifneq ($(call cc-option, -mpreferred-stack-boundary=4),)
188f918697SMatthias Kaehlcke      cc_stack_align4 := -mpreferred-stack-boundary=2
198f918697SMatthias Kaehlcke      cc_stack_align8 := -mpreferred-stack-boundary=3
208f918697SMatthias Kaehlckeelse ifneq ($(call cc-option, -mstack-alignment=16),)
218f918697SMatthias Kaehlcke      cc_stack_align4 := -mstack-alignment=4
228f918697SMatthias Kaehlcke      cc_stack_align8 := -mstack-alignment=8
23d77698dfSMatthias Kaehlckeendif
24d77698dfSMatthias Kaehlcke
251c678da3SDavid Woodhouse# How to compile the 16-bit code.  Note we always compile for -march=i386;
261c678da3SDavid Woodhouse# that way we can complain to the user if the CPU is insufficient.
272838307bSNick DesaulniersREALMODE_CFLAGS	:= -m16 -g -Os -DDISABLE_BRANCH_PROFILING \
281c678da3SDavid Woodhouse		   -Wall -Wstrict-prototypes -march=i386 -mregparm=3 \
291c678da3SDavid Woodhouse		   -fno-strict-aliasing -fomit-frame-pointer -fno-pic \
30*9fcb51c1SArnd Bergmann		   -mno-mmx -mno-sse $(call cc-option,-fcf-protection=none)
31032a2c4fSMatthias Kaehlcke
32685969e0SMasahiro YamadaREALMODE_CFLAGS += -ffreestanding
33893ab004SMasahiro YamadaREALMODE_CFLAGS += -fno-stack-protector
3442e0e954SLinus TorvaldsREALMODE_CFLAGS += $(call __cc-option, $(CC), $(REALMODE_CFLAGS), -Wno-address-of-packed-member)
359e8730b1SMatthias KaehlckeREALMODE_CFLAGS += $(call __cc-option, $(CC), $(REALMODE_CFLAGS), $(cc_stack_align4))
361c678da3SDavid Woodhouseexport REALMODE_CFLAGS
371c678da3SDavid Woodhouse
380a6ef376SSam Ravnborg# BITS is used as extension for files which are available in a 32 bit
390a6ef376SSam Ravnborg# and a 64 bit version to simplify shared Makefiles.
400a6ef376SSam Ravnborg# e.g.: obj-y += foo_$(BITS).o
410a6ef376SSam Ravnborgexport BITS
4274b469f2SSam Ravnborg
43b2c51106SAndy Lutomirski#
44b2c51106SAndy Lutomirski# Prevent GCC from generating any FP code by mistake.
45b2c51106SAndy Lutomirski#
46b2c51106SAndy Lutomirski# This must happen before we try the -mpreferred-stack-boundary, see:
47b2c51106SAndy Lutomirski#
48b2c51106SAndy Lutomirski#    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53383
49b2c51106SAndy Lutomirski#
50b2c51106SAndy LutomirskiKBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
51b2c51106SAndy LutomirskiKBUILD_CFLAGS += $(call cc-option,-mno-avx,)
52b2c51106SAndy Lutomirski
53256b92afSBorislav Petkov# Intel CET isn't enabled in the kernel
54256b92afSBorislav PetkovKBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
55256b92afSBorislav Petkov
56d746d647SSam Ravnborgifeq ($(CONFIG_X86_32),y)
570a6ef376SSam Ravnborg        BITS := 32
588c6531f7SAndreas Herrmann        UTS_MACHINE := i386
594ba7e5cdSSam Ravnborg        CHECKFLAGS += -D__i386__
600a6ef376SSam Ravnborg
614ba7e5cdSSam Ravnborg        biarch := $(call cc-option,-m32)
624ba7e5cdSSam Ravnborg        KBUILD_AFLAGS += $(biarch)
634ba7e5cdSSam Ravnborg        KBUILD_CFLAGS += $(biarch)
640a6ef376SSam Ravnborg
650a6ef376SSam Ravnborg        KBUILD_CFLAGS += -msoft-float -mregparm=3 -freg-struct-return
660a6ef376SSam Ravnborg
67484d90eeSAndrew Boie        # Never want PIC in a 32-bit kernel, prevent breakage with GCC built
68484d90eeSAndrew Boie        # with nonstandard options
69484d90eeSAndrew Boie        KBUILD_CFLAGS += -fno-pic
70484d90eeSAndrew Boie
71d77698dfSMatthias Kaehlcke        # Align the stack to the register width instead of using the default
72d77698dfSMatthias Kaehlcke        # alignment of 16 bytes. This reduces stack usage and the number of
73d77698dfSMatthias Kaehlcke        # alignment instructions.
749e8730b1SMatthias Kaehlcke        KBUILD_CFLAGS += $(call cc-option,$(cc_stack_align4))
750a6ef376SSam Ravnborg
760a6ef376SSam Ravnborg        # CPU-specific tuning. Anything which can be shared with UML should go here.
77a436bb7bSMasahiro Yamada        include arch/x86/Makefile_32.cpu
780a6ef376SSam Ravnborg        KBUILD_CFLAGS += $(cflags-y)
790a6ef376SSam Ravnborg
800a6ef376SSam Ravnborg        # temporary until string.h is fixed
810a6ef376SSam Ravnborg        KBUILD_CFLAGS += -ffreestanding
820a6ef376SSam Ravnborgelse
830a6ef376SSam Ravnborg        BITS := 64
840a6ef376SSam Ravnborg        UTS_MACHINE := x86_64
851f2f01b1SLuc Van Oostenryck        CHECKFLAGS += -D__x86_64__
860a6ef376SSam Ravnborg
8714262d67SGeorge Spelvin        biarch := -m64
880a6ef376SSam Ravnborg        KBUILD_AFLAGS += -m64
890a6ef376SSam Ravnborg        KBUILD_CFLAGS += -m64
900a6ef376SSam Ravnborg
91be6cb027SIngo Molnar        # Align jump targets to 1 byte, not the default 16 bytes:
922c4fd1acSMatthias Kaehlcke        KBUILD_CFLAGS += $(call cc-option,-falign-jumps=1)
93be6cb027SIngo Molnar
9452648e83SIngo Molnar        # Pack loops tightly as well:
952c4fd1acSMatthias Kaehlcke        KBUILD_CFLAGS += $(call cc-option,-falign-loops=1)
9652648e83SIngo Molnar
975c630089SRasmus Villemoes        # Don't autogenerate traditional x87 instructions
988f2dd677SBehan Webster        KBUILD_CFLAGS += $(call cc-option,-mno-80387)
998f2dd677SBehan Webster        KBUILD_CFLAGS += $(call cc-option,-mno-fp-ret-in-387)
1005551a34eSH. Peter Anvin
101d77698dfSMatthias Kaehlcke        # By default gcc and clang use a stack alignment of 16 bytes for x86.
102d77698dfSMatthias Kaehlcke        # However the standard kernel entry on x86-64 leaves the stack on an
103d77698dfSMatthias Kaehlcke        # 8-byte boundary. If the compiler isn't informed about the actual
104d77698dfSMatthias Kaehlcke        # alignment it will generate extra alignment instructions for the
105d77698dfSMatthias Kaehlcke        # default alignment which keep the stack *mis*aligned.
106d77698dfSMatthias Kaehlcke        # Furthermore an alignment to the register width reduces stack usage
107d77698dfSMatthias Kaehlcke        # and the number of alignment instructions.
1089e8730b1SMatthias Kaehlcke        KBUILD_CFLAGS += $(call cc-option,$(cc_stack_align8))
109d9b0cde9SH.J. Lu
110d9ee948dSH.J. Lu	# Use -mskip-rax-setup if supported.
111d9ee948dSH.J. Lu	KBUILD_CFLAGS += $(call cc-option,-mskip-rax-setup)
112d9ee948dSH.J. Lu
1130a6ef376SSam Ravnborg        # FIXME - should be integrated in Makefile.cpu (Makefile_32.cpu)
1140a6ef376SSam Ravnborg        cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8)
1150a6ef376SSam Ravnborg        cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona)
1160a6ef376SSam Ravnborg
1170a6ef376SSam Ravnborg        cflags-$(CONFIG_MCORE2) += \
1180a6ef376SSam Ravnborg                $(call cc-option,-march=core2,$(call cc-option,-mtune=generic))
119366d19e1STobias Doerffel	cflags-$(CONFIG_MATOM) += $(call cc-option,-march=atom) \
120366d19e1STobias Doerffel		$(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic))
1210a6ef376SSam Ravnborg        cflags-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=generic)
1220a6ef376SSam Ravnborg        KBUILD_CFLAGS += $(cflags-y)
1230a6ef376SSam Ravnborg
1240a6ef376SSam Ravnborg        KBUILD_CFLAGS += -mno-red-zone
1250a6ef376SSam Ravnborg        KBUILD_CFLAGS += -mcmodel=kernel
1265d707e9cSTejun Heoendif
1270a6ef376SSam Ravnborg
1280bf62763SH. Peter Anvinifdef CONFIG_X86_X32
1290bf62763SH. Peter Anvin	x32_ld_ok := $(call try-run,\
1300bf62763SH. Peter Anvin			/bin/echo -e '1: .quad 1b' | \
1310bf62763SH. Peter Anvin			$(CC) $(KBUILD_AFLAGS) -c -x assembler -o "$$TMP" - && \
1320bf62763SH. Peter Anvin			$(OBJCOPY) -O elf32-x86-64 "$$TMP" "$$TMPO" && \
1330bf62763SH. Peter Anvin			$(LD) -m elf32_x86_64 "$$TMPO" -o "$$TMP",y,n)
1340bf62763SH. Peter Anvin        ifeq ($(x32_ld_ok),y)
1350bf62763SH. Peter Anvin                CONFIG_X86_X32_ABI := y
1360bf62763SH. Peter Anvin                KBUILD_AFLAGS += -DCONFIG_X86_X32_ABI
1370bf62763SH. Peter Anvin                KBUILD_CFLAGS += -DCONFIG_X86_X32_ABI
1380bf62763SH. Peter Anvin        else
1390bf62763SH. Peter Anvin                $(warning CONFIG_X86_X32 enabled but no binutils support)
1400bf62763SH. Peter Anvin        endif
1410bf62763SH. Peter Anvinendif
1420bf62763SH. Peter Anvinexport CONFIG_X86_X32_ABI
1430bf62763SH. Peter Anvin
1443f135e57SJosh Poimboeuf#
1453f135e57SJosh Poimboeuf# If the function graph tracer is used with mcount instead of fentry,
1463f135e57SJosh Poimboeuf# '-maccumulate-outgoing-args' is needed to prevent a GCC bug
1473f135e57SJosh Poimboeuf# (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42109)
1483f135e57SJosh Poimboeuf#
1493f135e57SJosh Poimboeufifdef CONFIG_FUNCTION_GRAPH_TRACER
1503f135e57SJosh Poimboeuf  ifndef CONFIG_HAVE_FENTRY
1513f135e57SJosh Poimboeuf	ACCUMULATE_OUTGOING_ARGS := 1
1523f135e57SJosh Poimboeuf  else
1533f135e57SJosh Poimboeuf    ifeq ($(call cc-option-yn, -mfentry), n)
1543f135e57SJosh Poimboeuf	ACCUMULATE_OUTGOING_ARGS := 1
155a5859c6dSJosh Poimboeuf
156a5859c6dSJosh Poimboeuf	# GCC ignores '-maccumulate-outgoing-args' when used with '-Os'.
157a5859c6dSJosh Poimboeuf	# If '-Os' is enabled, disable it and print a warning.
158a5859c6dSJosh Poimboeuf        ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
159a5859c6dSJosh Poimboeuf          undefine CONFIG_CC_OPTIMIZE_FOR_SIZE
160a5859c6dSJosh Poimboeuf          $(warning Disabling CONFIG_CC_OPTIMIZE_FOR_SIZE.  Your compiler does not have -mfentry so you cannot optimize for size with CONFIG_FUNCTION_GRAPH_TRACER.)
161a5859c6dSJosh Poimboeuf        endif
162a5859c6dSJosh Poimboeuf
1633f135e57SJosh Poimboeuf    endif
1643f135e57SJosh Poimboeuf  endif
1653f135e57SJosh Poimboeufendif
1663f135e57SJosh Poimboeuf
1673f135e57SJosh Poimboeufifeq ($(ACCUMULATE_OUTGOING_ARGS), 1)
1684a1bec46SNick Desaulniers	# This compiler flag is not supported by Clang:
1694a1bec46SNick Desaulniers	KBUILD_CFLAGS += $(call cc-option,-maccumulate-outgoing-args,)
1703f135e57SJosh Poimboeufendif
1713f135e57SJosh Poimboeuf
172b33fff07SSami Tolvanenifdef CONFIG_LTO_CLANG
173b33fff07SSami TolvanenKBUILD_LDFLAGS	+= -plugin-opt=-code-model=kernel \
174b33fff07SSami Tolvanen		   -plugin-opt=-stack-alignment=$(if $(CONFIG_X86_32),4,8)
175b33fff07SSami Tolvanenendif
176b33fff07SSami Tolvanen
17725dfeeb7SSam Ravnborg# Workaround for a gcc prelease that unfortunately was shipped in a suse release
17825dfeeb7SSam RavnborgKBUILD_CFLAGS += -Wno-sign-compare
17925dfeeb7SSam Ravnborg#
18025dfeeb7SSam RavnborgKBUILD_CFLAGS += -fno-asynchronous-unwind-tables
1810a6ef376SSam Ravnborg
18276b04384SDavid Woodhouse# Avoid indirect branches in kernel to deal with Spectre
18376b04384SDavid Woodhouseifdef CONFIG_RETPOLINE
1844cd24de3SZhenzhong Duan  KBUILD_CFLAGS += $(RETPOLINE_CFLAGS)
185ce02ef06SDaniel Borkmann  # Additionally, avoid generating expensive indirect jumps which
186ce02ef06SDaniel Borkmann  # are subject to retpolines for small number of switch cases.
187ce02ef06SDaniel Borkmann  # clang turns off jump table generation by default when under
188a9d57ef1SDaniel Borkmann  # retpoline builds, however, gcc does not for x86. This has
189a9d57ef1SDaniel Borkmann  # only been fixed starting from gcc stable version 8.4.0 and
190a9d57ef1SDaniel Borkmann  # onwards, but not for older ones. See gcc bug #86952.
191a9d57ef1SDaniel Borkmann  ifndef CONFIG_CC_IS_CLANG
192a9d57ef1SDaniel Borkmann    KBUILD_CFLAGS += $(call cc-option,-fno-jump-tables)
193a9d57ef1SDaniel Borkmann  endif
19476b04384SDavid Woodhouseendif
19576b04384SDavid Woodhouse
196587af649SArvind SankarKBUILD_LDFLAGS := -m elf_$(UTS_MACHINE)
197587af649SArvind Sankar
198587af649SArvind Sankarifdef CONFIG_X86_NEED_RELOCS
199587af649SArvind SankarLDFLAGS_vmlinux := --emit-relocs --discard-none
200587af649SArvind Sankarelse
201587af649SArvind SankarLDFLAGS_vmlinux :=
202587af649SArvind Sankarendif
203587af649SArvind Sankar
204587af649SArvind Sankar#
205587af649SArvind Sankar# The 64-bit kernel must be aligned to 2MB.  Pass -z max-page-size=0x200000 to
206587af649SArvind Sankar# the linker to force 2MB page size regardless of the default page size used
207587af649SArvind Sankar# by the linker.
208587af649SArvind Sankar#
209587af649SArvind Sankarifdef CONFIG_X86_64
210587af649SArvind SankarLDFLAGS_vmlinux += -z max-page-size=0x200000
211587af649SArvind Sankarendif
212587af649SArvind Sankar
21383109d5dSKees Cook
2143ce9e53eSMichal Marekarchscripts: scripts_basic
2156520fe55SH. Peter Anvin	$(Q)$(MAKE) $(build)=arch/x86/tools relocs
2166520fe55SH. Peter Anvin
2170a6ef376SSam Ravnborg###
218303395acSH. Peter Anvin# Syscall table generation
219303395acSH. Peter Anvin
220303395acSH. Peter Anvinarchheaders:
2211f57d5d8SIngo Molnar	$(Q)$(MAKE) $(build)=arch/x86/entry/syscalls all
222303395acSH. Peter Anvin
223303395acSH. Peter Anvin###
2240a6ef376SSam Ravnborg# Kernel objects
2250a6ef376SSam Ravnborg
2260a6ef376SSam Ravnborghead-y := arch/x86/kernel/head_$(BITS).o
227700efc1bSEric W. Biedermanhead-y += arch/x86/kernel/head$(BITS).o
228f2d85299SLuis R. Rodriguezhead-y += arch/x86/kernel/ebda.o
2298d152e7aSLuis R. Rodriguezhead-y += arch/x86/kernel/platform-quirks.o
2300a6ef376SSam Ravnborg
2310a6ef376SSam Ravnborglibs-y  += arch/x86/lib/
2320a6ef376SSam Ravnborg
233d1f0ae5eSSam Ravnborg# See arch/x86/Kbuild for content of core part of the kernel
234d1f0ae5eSSam Ravnborgcore-y += arch/x86/
2350a6ef376SSam Ravnborg
2360a6ef376SSam Ravnborg# drivers-y are linked after core-y
2370a6ef376SSam Ravnborgdrivers-$(CONFIG_MATH_EMULATION) += arch/x86/math-emu/
2380a6ef376SSam Ravnborgdrivers-$(CONFIG_PCI)            += arch/x86/pci/
2390a6ef376SSam Ravnborg
240cf7700feSRafael J. Wysocki# suspend and hibernation support
2410a6ef376SSam Ravnborgdrivers-$(CONFIG_PM) += arch/x86/power/
242cf7700feSRafael J. Wysocki
2430a6ef376SSam Ravnborgdrivers-$(CONFIG_FB) += arch/x86/video/
2440a6ef376SSam Ravnborg
2450a6ef376SSam Ravnborg####
2460a6ef376SSam Ravnborg# boot loader support. Several targets are kept for legacy purposes
2470a6ef376SSam Ravnborg
2480a6ef376SSam Ravnborgboot := arch/x86/boot
2490a6ef376SSam Ravnborg
25030ce434eSMasahiro YamadaBOOT_TARGETS = bzdisk fdimage fdimage144 fdimage288 isoimage
251f9c5107cSH. Peter Anvin
252f9c5107cSH. Peter AnvinPHONY += bzImage $(BOOT_TARGETS)
2530a6ef376SSam Ravnborg
2540a6ef376SSam Ravnborg# Default kernel to build
2550a6ef376SSam Ravnborgall: bzImage
2560a6ef376SSam Ravnborg
2570a6ef376SSam Ravnborg# KBUILD_IMAGE specify target image being built
2580a6ef376SSam RavnborgKBUILD_IMAGE := $(boot)/bzImage
2590a6ef376SSam Ravnborg
260f9c5107cSH. Peter AnvinbzImage: vmlinux
261ca0e9badSMasami Hiramatsuifeq ($(CONFIG_X86_DECODER_SELFTEST),y)
262ca0e9badSMasami Hiramatsu	$(Q)$(MAKE) $(build)=arch/x86/tools posttest
263ca0e9badSMasami Hiramatsuendif
2640a6ef376SSam Ravnborg	$(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE)
2650a6ef376SSam Ravnborg	$(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot
26641b3eae6SJan Beulich	$(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/$@
2670a6ef376SSam Ravnborg
268f9c5107cSH. Peter Anvin$(BOOT_TARGETS): vmlinux
269f9c5107cSH. Peter Anvin	$(Q)$(MAKE) $(build)=$(boot) $@
2700a6ef376SSam Ravnborg
27130ce434eSMasahiro YamadaPHONY += install bzlilo
27230ce434eSMasahiro Yamadainstall bzlilo:
2731648e4f8SH. Peter Anvin	$(Q)$(MAKE) $(build)=$(boot) $@
2741648e4f8SH. Peter Anvin
2750a6ef376SSam RavnborgPHONY += vdso_install
2760a6ef376SSam Ravnborgvdso_install:
277d603c8e1SIngo Molnar	$(Q)$(MAKE) $(build)=arch/x86/entry/vdso $@
2780a6ef376SSam Ravnborg
279829fe4aaSBen Hutchingsarchprepare: checkbin
280829fe4aaSBen Hutchingscheckbin:
281e9666d10SMasahiro Yamadaifndef CONFIG_CC_HAS_ASM_GOTO
282829fe4aaSBen Hutchings	@echo Compiler lacks asm-goto support.
283829fe4aaSBen Hutchings	@exit 1
284829fe4aaSBen Hutchingsendif
28525896d07SMasahiro Yamadaifdef CONFIG_RETPOLINE
28625896d07SMasahiro Yamadaifeq ($(RETPOLINE_CFLAGS),)
28725896d07SMasahiro Yamada	@echo "You are building kernel with non-retpoline compiler." >&2
28825896d07SMasahiro Yamada	@echo "Please update your compiler." >&2
28925896d07SMasahiro Yamada	@false
29025896d07SMasahiro Yamadaendif
29125896d07SMasahiro Yamadaendif
292829fe4aaSBen Hutchings
2930a6ef376SSam Ravnborgarchclean:
2940a6ef376SSam Ravnborg	$(Q)rm -rf $(objtree)/arch/i386
2950a6ef376SSam Ravnborg	$(Q)rm -rf $(objtree)/arch/x86_64
2960a6ef376SSam Ravnborg	$(Q)$(MAKE) $(clean)=$(boot)
297b2d668daSJarkko Sakkinen	$(Q)$(MAKE) $(clean)=arch/x86/tools
2980a6ef376SSam Ravnborg
2990a6ef376SSam Ravnborgdefine archhelp
3000a6ef376SSam Ravnborg  echo  '* bzImage		- Compressed kernel image (arch/x86/boot/bzImage)'
301ac5d0887SBorislav Petkov  echo  '  install		- Install kernel using (your) ~/bin/$(INSTALLKERNEL) or'
302ac5d0887SBorislav Petkov  echo  '			  (distribution) /sbin/$(INSTALLKERNEL) or install to '
303ac5d0887SBorislav Petkov  echo  '			  $$(INSTALL_PATH) and run lilo'
304ac5d0887SBorislav Petkov  echo  ''
30537f30e21SAndi Kleen  echo  '  fdimage		- Create 1.4MB boot floppy image (arch/x86/boot/fdimage)'
30637f30e21SAndi Kleen  echo  '  fdimage144		- Create 1.4MB boot floppy image (arch/x86/boot/fdimage)'
30737f30e21SAndi Kleen  echo  '  fdimage288		- Create 2.8MB boot floppy image (arch/x86/boot/fdimage)'
30837f30e21SAndi Kleen  echo  '  isoimage		- Create a boot CD-ROM image (arch/x86/boot/image.iso)'
30937f30e21SAndi Kleen  echo  '			  bzdisk/fdimage*/isoimage also accept:'
31037f30e21SAndi Kleen  echo  '			  FDARGS="..."  arguments for the booted kernel'
31137f30e21SAndi Kleen  echo  '                  	  FDINITRD=file initrd for the booted kernel'
312ac5d0887SBorislav Petkov  echo  ''
313fbaf0aa8SBorislav Petkov  echo  '  kvm_guest.config	- Enable Kconfig items for running this kernel as a KVM guest'
314fbaf0aa8SBorislav Petkov  echo  '  xen.config		- Enable Kconfig items for running this kernel as a Xen guest'
315fbaf0aa8SBorislav Petkov
3160a6ef376SSam Ravnborgendef
317