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 14ifneq ($(OBJTREE),$(SRCTREE)) 15$(shell mkdir -p $(obj)../common) 16endif 17 18ifdef CONFIG_SPL_BUILD 19obj-y := mux.o 20endif 21 22obj-y += board.o 23ifndef CONFIG_SPL_BUILD 24obj-y += ../common/factoryset.o 25endif 26