mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
PPC4xx:HCU4/5-Board fix compile warning
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
This commit is contained in:
parent
594e79838c
commit
0e19209767
3 changed files with 18 additions and 10 deletions
|
@ -22,16 +22,20 @@ include $(TOPDIR)/config.mk
|
|||
|
||||
LIB = $(obj)lib$(BOARD).a
|
||||
|
||||
vpath flash.c ../common
|
||||
COBJS = $(BOARD).o flash.o
|
||||
vpath hcu_flash.c ../common
|
||||
|
||||
# NOBJS : Netstal common objects
|
||||
NOBJS = hcu_flash.o
|
||||
COBJS = $(BOARD).o
|
||||
SOBJS =
|
||||
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) ../common/$(NOBJS:.o=.c)
|
||||
OBJS := $(addprefix $(obj),$(COBJS))
|
||||
NOBJS := $(addprefix $(obj),$(NOBJS))
|
||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||
|
||||
$(LIB): $(OBJS) $(SOBJS)
|
||||
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||
$(LIB): $(OBJS) $(SOBJS) $(NOBJS)
|
||||
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(NOBJS)
|
||||
|
||||
clean:
|
||||
rm -f $(SOBJS) $(OBJS)
|
||||
|
|
|
@ -22,16 +22,20 @@ include $(TOPDIR)/config.mk
|
|||
|
||||
LIB = $(obj)lib$(BOARD).a
|
||||
|
||||
vpath flash.c ../common
|
||||
COBJS = $(BOARD).o sdram.o flash.o
|
||||
vpath hcu_flash.c ../common
|
||||
|
||||
# NOBJS : Netstal common objects
|
||||
NOBJS = hcu_flash.o
|
||||
COBJS = $(BOARD).o sdram.o
|
||||
SOBJS = init.o
|
||||
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||||
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) ../common/$(NOBJS:.o=.c)
|
||||
OBJS := $(addprefix $(obj),$(COBJS))
|
||||
NOBJS := $(addprefix $(obj),$(NOBJS))
|
||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||
|
||||
$(LIB): $(OBJS) $(SOBJS)
|
||||
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||
$(LIB): $(OBJS) $(SOBJS) $(NOBJS)
|
||||
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(NOBJS)
|
||||
|
||||
clean:
|
||||
rm -f $(SOBJS) $(OBJS)
|
||||
|
|
Loading…
Reference in a new issue