mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-20 11:43:22 +00:00
35 lines
628 B
Makefile
35 lines
628 B
Makefile
|
#
|
||
|
# Copyright (C) 2013 Samsung Electronics
|
||
|
#
|
||
|
# SPDX-License-Identifier: GPL-2.0+
|
||
|
#
|
||
|
|
||
|
include $(TOPDIR)/config.mk
|
||
|
|
||
|
LIB = $(obj)lib$(BOARD).o
|
||
|
|
||
|
COBJS += arndale_spl.o
|
||
|
|
||
|
ifndef CONFIG_SPL_BUILD
|
||
|
COBJS += arndale.o
|
||
|
endif
|
||
|
|
||
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
||
|
OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
|
||
|
|
||
|
ALL := $(obj).depend $(LIB)
|
||
|
|
||
|
all: $(ALL)
|
||
|
|
||
|
$(LIB): $(OBJS)
|
||
|
$(call cmd_link_o_target, $(OBJS))
|
||
|
|
||
|
#########################################################################
|
||
|
|
||
|
# defines $(obj).depend target
|
||
|
include $(SRCTREE)/rules.mk
|
||
|
|
||
|
sinclude $(obj).depend
|
||
|
|
||
|
#########################################################################
|