mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
1d2ca446e1
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
37 lines
759 B
Makefile
37 lines
759 B
Makefile
include $(TOPDIR)/config.mk
|
|
|
|
LIB := $(obj)libatibiosemu.a
|
|
|
|
X86DIR = x86emu
|
|
|
|
$(shell mkdir -p $(obj)$(X86DIR))
|
|
|
|
COBJS = 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
|
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
EXTRA_CFLAGS += -I. -I./include -I$(TOPDIR)/include \
|
|
-D__PPC__ -D__BIG_ENDIAN__
|
|
|
|
CFLAGS += $(EXTRA_CFLAGS)
|
|
HOST_CFLAGS += $(EXTRA_CFLAGS)
|
|
|
|
all: $(LIB)
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
|
|
|
#########################################################################
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|