mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-04 11:53:21 +09:00
![trem](/assets/img/avatar_default.png)
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr> Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org> Acked-by: Stefano Babic <sbabic@denx.de>
34 lines
737 B
Makefile
34 lines
737 B
Makefile
#
|
|
# (C) Copyright 2000-2004
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
# (C) Copyright 2012-2013
|
|
# Eric Jarrige <eric.jarrige@armadeus.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
COBJS := apf27.o
|
|
SOBJS := lowlevel_init.o
|
|
ifdef CONFIG_FPGA
|
|
COBJS += fpga.o
|
|
endif
|
|
|
|
SRCS := $(COBJS:.o=.c) $(SOBJS:.o=.S)
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
|
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
|
|
|
#########################################################################
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|