0ca2426bea
On x86 machines we can use an emulator to run option ROMS as with other architectures. But with some additional effort (mostly due to the 16-bit nature of option ROMs) we can run them natively. Add support for this. Signed-off-by: Simon Glass <sjg@chromium.org>
33 lines
881 B
Makefile
33 lines
881 B
Makefile
#
|
|
# (C) Copyright 2002-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y += bios.o
|
|
obj-y += bios_asm.o
|
|
obj-y += bios_interrupts.o
|
|
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
|
obj-y += cmd_boot.o
|
|
obj-y += gcc.o
|
|
obj-y += init_helpers.o
|
|
obj-y += interrupts.o
|
|
obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
|
|
obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
|
|
obj-$(CONFIG_PCI) += pci_type1.o
|
|
obj-y += relocate.o
|
|
obj-y += physmem.o
|
|
obj-$(CONFIG_X86_RAMTEST) += ramtest.o
|
|
obj-y += string.o
|
|
obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
|
|
obj-$(CONFIG_VIDEO_VGA) += video.o
|
|
obj-$(CONFIG_CMD_ZBOOT) += zimage.o
|
|
|
|
extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
|
|
|
|
NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
|
|
OBJCOPYFLAGS := --prefix-symbols=__normal_
|
|
$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
|
|
$(call if_changed,objcopy)
|