Heiko Schocher | c0dcece | 2013-08-19 16:39:01 +0200 | [diff] [blame] | 1 | # |
| 2 | # Makefile |
| 3 | # |
| 4 | # (C) Copyright 2013 Siemens Schweiz AG |
| 5 | # (C) Heiko Schocher, DENX Software Engineering, hs@denx.de. |
| 6 | # |
| 7 | # Based on: |
| 8 | # u-boot:/board/ti/am335x/Makefile |
| 9 | # Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ |
| 10 | # |
| 11 | # SPDX-License-Identifier: GPL-2.0+ |
| 12 | # |
| 13 | |
Heiko Schocher | c0dcece | 2013-08-19 16:39:01 +0200 | [diff] [blame] | 14 | ifneq ($(OBJTREE),$(SRCTREE)) |
| 15 | $(shell mkdir -p $(obj)../common) |
| 16 | endif |
| 17 | |
Heiko Schocher | c0dcece | 2013-08-19 16:39:01 +0200 | [diff] [blame] | 18 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame^] | 19 | obj-y := mux.o |
Heiko Schocher | c0dcece | 2013-08-19 16:39:01 +0200 | [diff] [blame] | 20 | endif |
| 21 | |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame^] | 22 | obj-y += board.o |
Heiko Schocher | c0dcece | 2013-08-19 16:39:01 +0200 | [diff] [blame] | 23 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame^] | 24 | obj-y += ../common/factoryset.o |
Heiko Schocher | c0dcece | 2013-08-19 16:39:01 +0200 | [diff] [blame] | 25 | endif |