mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
sh: sh7785lcr: Fix out of tree building
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
9274b7b2ea
commit
e72f46787f
1 changed files with 6 additions and 2 deletions
|
@ -23,8 +23,12 @@ LIB = $(obj)lib$(BOARD).o
|
|||
COBJS := sh7785lcr.o selfcheck.o rtl8169_mac.o
|
||||
SOBJS := lowlevel_init.o
|
||||
|
||||
$(LIB): $(obj).depend $(COBJS) $(SOBJS)
|
||||
$(call cmd_link_o_target, $(COBJS) $(SOBJS))
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||
OBJS := $(addprefix $(obj),$(COBJS))
|
||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||
|
||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
||||
|
||||
clean:
|
||||
rm -f $(SOBJS) $(OBJS)
|
||||
|
|
Loading…
Add table
Reference in a new issue