diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot-sam460ex/drivers/bios_emulator/Makefile | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot-sam460ex/drivers/bios_emulator/Makefile')
-rw-r--r-- | roms/u-boot-sam460ex/drivers/bios_emulator/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/roms/u-boot-sam460ex/drivers/bios_emulator/Makefile b/roms/u-boot-sam460ex/drivers/bios_emulator/Makefile new file mode 100644 index 000000000..feba4da75 --- /dev/null +++ b/roms/u-boot-sam460ex/drivers/bios_emulator/Makefile @@ -0,0 +1,39 @@ +include $(TOPDIR)/config.mk + +LIB := $(obj)libatibiosemu.a + +X86DIR = x86emu + +$(shell mkdir -p $(obj)$(X86DIR)) + +COBJS-$(CONFIG_BIOSEMU) = atibios.o biosemu.o besys.o bios.o \ + $(X86DIR)/decode.o \ + $(X86DIR)/ops2.o \ + $(X86DIR)/ops.o \ + $(X86DIR)/prim_ops.o \ + $(X86DIR)/sys.o \ + $(X86DIR)/debug.o + +COBJS := $(COBJS-y) +SRCS := $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) + +EXTRA_CFLAGS += -I. -I./include -I$(TOPDIR)/include \ + -D__PPC__ -D__BIG_ENDIAN__ + +CFLAGS += $(EXTRA_CFLAGS) +HOSTCFLAGS += $(EXTRA_CFLAGS) +CPPFLAGS += $(EXTRA_CFLAGS) + +all: $(LIB) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### |