mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
CCM board: fix build errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
ced209c50e
commit
ad75631479
1 changed files with 9 additions and 2 deletions
|
@ -22,6 +22,7 @@
|
|||
#
|
||||
|
||||
include $(TOPDIR)/config.mk
|
||||
|
||||
ifneq ($(OBJTREE),$(SRCTREE))
|
||||
$(shell mkdir -p $(obj)../common)
|
||||
$(shell mkdir -p $(obj)../../tqm8xx)
|
||||
|
@ -30,15 +31,21 @@ endif
|
|||
LIB = $(obj)lib$(BOARD).a
|
||||
|
||||
COBJS = ccm.o flash.o fpga_ccm.o ../common/fpga.o \
|
||||
../../tqm8xx/load_sernum_ethaddr.o
|
||||
../../tqc/tqm8xx/load_sernum_ethaddr.o
|
||||
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||
OBJS := $(addprefix $(obj),$(COBJS))
|
||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||
|
||||
$(LIB): $(obj).depend $(OBJS)
|
||||
$(LIB): $(OBJS)
|
||||
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||
|
||||
clean:
|
||||
rm -f $(SOBJS) $(OBJS)
|
||||
|
||||
distclean: clean
|
||||
rm -f $(LIB) core *.bak $(obj).depend
|
||||
|
||||
#########################################################################
|
||||
|
||||
# defines $(obj).depend target
|
||||
|
|
Loading…
Reference in a new issue