u-boot/board/cogent/Makefile

29 lines
667 B
Makefile
Raw Normal View History

2000-12-14 10:04:19 +00:00
#
# (C) Copyright 2000-2006
2000-12-14 10:04:19 +00:00
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier: GPL-2.0+
2000-12-14 10:04:19 +00:00
#
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
2000-12-14 10:04:19 +00:00
COBJS := mb.o flash.o dipsw.o lcd.o serial.o # pci.o rtc.o par.o kbm.o
2000-12-14 10:04:19 +00:00
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))
2000-12-14 10:04:19 +00:00
#########################################################################
# defines $(obj).depend target
include $(SRCTREE)/rules.mk
2000-12-14 10:04:19 +00:00
sinclude $(obj).depend
2000-12-14 10:04:19 +00:00
#########################################################################