Stefan Roese | b79316f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 1 | # |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2006 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Stefan Roese | b79316f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 5 | # (C) Copyright 2005 |
| 6 | # Travis B. Sawyer, Sandburst Corporation, tsawyer@sandburst.com |
| 7 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | # SPDX-License-Identifier: GPL-2.0+ |
Stefan Roese | b79316f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 9 | # |
| 10 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 11 | ifneq ($(OBJTREE),$(SRCTREE)) |
| 12 | $(shell mkdir -p $(obj)../common) |
| 13 | endif |
Stefan Roese | b79316f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 14 | |
| 15 | # TBS: add for debugging purposes |
| 16 | BUILDUSER := $(shell whoami) |
Masahiro Yamada | 377e104 | 2013-10-21 11:53:38 +0900 | [diff] [blame^] | 17 | FORCEBUILD := $(shell rm -f metrobox.o) |
Stefan Roese | b79316f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 18 | |
| 19 | CFLAGS += -DBUILDUSER='"$(BUILDUSER)"' |
| 20 | # TBS: end debugging |
| 21 | |
Masahiro Yamada | 377e104 | 2013-10-21 11:53:38 +0900 | [diff] [blame^] | 22 | obj-y = metrobox.o ../common/flash.o ../common/sb_common.o |
| 23 | extra-y += init.o |