mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 05:13:21 +09:00
![Tom Rini](/assets/img/avatar_default.png)
The sandburst-specific i2c drivers have been deleted, conflict was just over the SPDX conversion. Conflicts: board/sandburst/common/ppc440gx_i2c.c board/sandburst/common/ppc440gx_i2c.h Signed-off-by: Tom Rini <trini@ti.com>
44 lines
991 B
Makefile
44 lines
991 B
Makefile
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# (C) Copyright 2005
|
|
# Travis B. Sawyer, Sandburst Corporation, tsawyer@sandburst.com
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(TOPDIR)/config.mk
|
|
ifneq ($(OBJTREE),$(SRCTREE))
|
|
$(shell mkdir -p $(obj)../common)
|
|
endif
|
|
|
|
# TBS: add for debugging purposes
|
|
BUILDUSER := $(shell whoami)
|
|
FORCEBUILD := $(shell rm -f $(LIB) $(BOARD).o)
|
|
|
|
CFLAGS += -DBUILDUSER='"$(BUILDUSER)"'
|
|
# TBS: end debugging
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
COBJS = $(BOARD).o ../common/flash.o ../common/sb_common.o
|
|
SOBJS = init.o
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
$(LIB): $(OBJS) $(SOBJS)
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|