mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 05:51:37 +03:00
Simplify the process of adding a new CPU architecture by providing common implementations of typically empty architecture-specific header files. Signed-off-by: Michael Brown <mcb30@ipxe.org>
35 lines
836 B
Makefile
35 lines
836 B
Makefile
# Assembler section type character
|
|
#
|
|
ASM_TCHAR := @
|
|
ASM_TCHAR_OPS := @
|
|
|
|
# Include x86-specific headers
|
|
#
|
|
INCDIRS := arch/$(ARCH)/include arch/x86/include $(INCDIRS)
|
|
|
|
# x86-specific directories containing source files
|
|
#
|
|
SRCDIRS += arch/x86/core
|
|
SRCDIRS += arch/x86/image
|
|
SRCDIRS += arch/x86/interface/pcbios
|
|
SRCDIRS += arch/x86/interface/pxe
|
|
SRCDIRS += arch/x86/interface/efi
|
|
SRCDIRS += arch/x86/interface/vmware
|
|
SRCDIRS += arch/x86/interface/syslinux
|
|
SRCDIRS += arch/x86/prefix
|
|
SRCDIRS += arch/x86/hci/commands
|
|
SRCDIRS += arch/x86/drivers/xen
|
|
SRCDIRS += arch/x86/drivers/hyperv
|
|
SRCDIRS += arch/x86/transitions
|
|
|
|
# disable valgrind
|
|
CFLAGS += -DNVALGRIND
|
|
|
|
# Define version string for lkrnprefix.S
|
|
#
|
|
CFLAGS_lkrnprefix += -DVERSION="\"$(VERSION)\""
|
|
|
|
# Include Hyper-V driver in the all-drivers build
|
|
#
|
|
DRIVERS_hyperv += hyperv
|