blob: 76dfffc9c7a3088a63ca9f2ea9e21f4ef8aef673 [file] [log] [blame]
Stefan Roeseb79316f2005-08-15 12:31:23 +02001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Stefan Roeseb79316f2005-08-15 12:31:23 +02005# (C) Copyright 2005
6# Travis B. Sawyer, Sandburst Corporation, tsawyer@sandburst.com
7#
Wolfgang Denk1a459662013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
Stefan Roeseb79316f2005-08-15 12:31:23 +02009#
10
Marian Balakowiczf9328632006-09-01 19:49:50 +020011ifneq ($(OBJTREE),$(SRCTREE))
12$(shell mkdir -p $(obj)../common)
13endif
Stefan Roeseb79316f2005-08-15 12:31:23 +020014
15# TBS: add for debugging purposes
16BUILDUSER := $(shell whoami)
Masahiro Yamada377e1042013-10-21 11:53:38 +090017FORCEBUILD := $(shell rm -f metrobox.o)
Stefan Roeseb79316f2005-08-15 12:31:23 +020018
19CFLAGS += -DBUILDUSER='"$(BUILDUSER)"'
20# TBS: end debugging
21
Masahiro Yamada377e1042013-10-21 11:53:38 +090022obj-y = metrobox.o ../common/flash.o ../common/sb_common.o
23extra-y += init.o