mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09: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
|
||
|
|
||
|
#########################################################################
|