summaryrefslogtreecommitdiff
path: root/arch/mips/Makefile
blob: 6a9f798d5677c0cc523ed35a8d925203ce72a0c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# SPDX-License-Identifier:	GPL-2.0+
#

head-y := arch/mips/cpu/start.o

libs-y += arch/mips/cpu/
libs-y += arch/mips/lib/

machine-$(CONFIG_SOC_AU1X00) += au1x00

machdirs := $(patsubst %,arch/mips/mach-%/,$(machine-y))
libs-y += $(machdirs)

PLATFORM_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs))