blob: 5129c6e3b148bbb33c2b08689b7238e18958a066 [file] [log] [blame]
Heiko Schocherc0dcece2013-08-19 16:39:01 +02001#
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 Schocherc0dcece2013-08-19 16:39:01 +020014ifneq ($(OBJTREE),$(SRCTREE))
15$(shell mkdir -p $(obj)../common)
16endif
17
Heiko Schocherc0dcece2013-08-19 16:39:01 +020018ifdef CONFIG_SPL_BUILD
Masahiro Yamadaa79854a2013-10-21 11:53:37 +090019obj-y := mux.o
Heiko Schocherc0dcece2013-08-19 16:39:01 +020020endif
21
Masahiro Yamadaa79854a2013-10-21 11:53:37 +090022obj-y += board.o
Heiko Schocherc0dcece2013-08-19 16:39:01 +020023ifndef CONFIG_SPL_BUILD
Masahiro Yamadaa79854a2013-10-21 11:53:37 +090024obj-y += ../common/factoryset.o
Heiko Schocherc0dcece2013-08-19 16:39:01 +020025endif