u-boot-brain/board/hymod/Makefile

29 lines
660 B
Makefile
Raw Normal View History

2001-08-06 00:35:05 +09:00
#
# (C) Copyright 2000-2006
2001-08-06 00:35:05 +09:00
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier: GPL-2.0+
2001-08-06 00:35:05 +09:00
#
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
2001-08-06 00:35:05 +09:00
COBJS = $(BOARD).o flash.o bsp.o eeprom.o fetch.o input.o env.o
2001-08-06 00:35:05 +09: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))
2001-08-06 00:35:05 +09:00
#########################################################################
# defines $(obj).depend target
include $(SRCTREE)/rules.mk
2001-08-06 00:35:05 +09:00
sinclude $(obj).depend
2001-08-06 00:35:05 +09:00
#########################################################################