Stefan Roese | 5ff4c3f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 1 | # |
Marian Balakowicz | d62379d | 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 | 5ff4c3f | 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 | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | # SPDX-License-Identifier: GPL-2.0+ |
Stefan Roese | 5ff4c3f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 9 | # |
| 10 | |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 11 | ifneq ($(OBJTREE),$(SRCTREE)) |
| 12 | $(shell mkdir -p $(obj)../common) |
| 13 | endif |
Stefan Roese | 5ff4c3f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 14 | |
| 15 | # TBS: add for debugging purposes |
| 16 | BUILDUSER := $(shell whoami) |
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame^] | 17 | FORCEBUILD := $(shell rm -f metrobox.o) |
Stefan Roese | 5ff4c3f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 18 | |
| 19 | CFLAGS += -DBUILDUSER='"$(BUILDUSER)"' |
| 20 | # TBS: end debugging |
| 21 | |
Masahiro Yamada | c54b77e | 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 |