mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
34 lines
813 B
Makefile
34 lines
813 B
Makefile
#
|
|
# (C) Copyright 2003-2008
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# (C) Copyright 2008
|
|
# Stelian Pop <stelian@popies.net>
|
|
# Lead Tech Design <www.leadtechdesign.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
COBJS-y += at91sam9263ek.o
|
|
COBJS-y += led.o
|
|
COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
|
|
|
|
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(COBJS-y))
|
|
SOBJS := $(addprefix $(obj),$(SOBJS-y))
|
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
|
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|