mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-20 03:38:43 +00:00
32 lines
614 B
Makefile
32 lines
614 B
Makefile
|
#
|
||
|
# (C) Copyright 2000-2006
|
||
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||
|
#
|
||
|
# SPDX-License-Identifier: GPL-2.0+
|
||
|
#
|
||
|
|
||
|
include $(TOPDIR)/config.mk
|
||
|
|
||
|
LIB = $(obj)lib$(BOARD).o
|
||
|
|
||
|
ifndef CONFIG_SPL_BUILD
|
||
|
COBJS := xfi3.o
|
||
|
else
|
||
|
COBJS := spl_boot.o
|
||
|
endif
|
||
|
|
||
|
SRCS := $(COBJS:.o=.c)
|
||
|
OBJS := $(addprefix $(obj),$(COBJS))
|
||
|
|
||
|
$(LIB): $(obj).depend $(OBJS)
|
||
|
$(call cmd_link_o_target, $(OBJS))
|
||
|
|
||
|
#########################################################################
|
||
|
|
||
|
# defines $(obj).depend target
|
||
|
include $(SRCTREE)/rules.mk
|
||
|
|
||
|
sinclude $(obj).depend
|
||
|
|
||
|
#########################################################################
|