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 | # Sandburst Corporation |
| 7 | # Travis B. Sawyer |
| 8 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | # SPDX-License-Identifier: GPL-2.0+ |
Stefan Roese | b79316f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 10 | # |
| 11 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 12 | ifneq ($(OBJTREE),$(SRCTREE)) |
| 13 | $(shell mkdir -p $(obj)../common) |
| 14 | endif |
Stefan Roese | b79316f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 15 | |
| 16 | # TBS: add for debugging purposes |
| 17 | BUILDUSER := $(shell whoami) |
Masahiro Yamada | 377e104 | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 18 | FORCEBUILD := $(shell rm -f karef.o) |
Stefan Roese | b79316f | 2005-08-15 12:31:23 +0200 | [diff] [blame] | 19 | |
| 20 | CFLAGS += -DBUILDUSER='"$(BUILDUSER)"' |
| 21 | # TBS: end debugging |
| 22 | |
Masahiro Yamada | 377e104 | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 23 | obj-y = karef.o ../common/flash.o ../common/sb_common.o |
| 24 | extra-y += init.o |