u-boot/board/bf533-stamp/Makefile

35 lines
783 B
Makefile
Raw Normal View History

2006-03-12 01:12:27 +00:00
#
# U-boot - Makefile
#
# Copyright (c) 2005-2008 Analog Device Inc.
2006-03-12 01:12:27 +00:00
#
2007-03-10 15:49:29 +00:00
# (C) Copyright 2000-2006
2006-03-12 01:12:27 +00:00
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier: GPL-2.0+
2006-03-12 01:12:27 +00:00
#
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
2006-03-12 01:12:27 +00:00
COBJS-y := $(BOARD).o
COBJS-$(CONFIG_STAMP_CF) += ide-cf.o
COBJS-$(CONFIG_VIDEO) += video.o
2006-03-12 01:12:27 +00:00
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))
2006-03-12 01:12:27 +00:00
#########################################################################
# defines $(obj).depend target
include $(SRCTREE)/rules.mk
2006-03-12 01:12:27 +00:00
sinclude $(obj).depend
2006-03-12 01:12:27 +00:00
#########################################################################