mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-10-06 06:12:19 +00:00
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
29 lines
672 B
Makefile
29 lines
672 B
Makefile
#
|
|
# (C) Copyright 2001-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# Copyright (C) 2011
|
|
# Corscience GmbH & Co.KG, Andreas Bießmann <biessmann@corscience.de>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB := $(obj)lib$(BOARD).o
|
|
|
|
COBJS-y += $(BOARD).o
|
|
|
|
SRCS := $(COBJS-y:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(COBJS-y))
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|