Daniel Schwierzeck | 17def7d | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 1 | # |
| 2 | # SPDX-License-Identifier: GPL-2.0+ |
| 3 | # |
| 4 | |
Daniel Schwierzeck | ed16050 | 2015-01-29 14:56:20 +0100 | [diff] [blame] | 5 | head-y := arch/mips/cpu/start.o |
Daniel Schwierzeck | 17def7d | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 6 | |
Daniel Schwierzeck | ed16050 | 2015-01-29 14:56:20 +0100 | [diff] [blame] | 7 | libs-y += arch/mips/cpu/ |
Daniel Schwierzeck | 17def7d | 2014-11-21 23:51:33 +0100 | [diff] [blame] | 8 | libs-y += arch/mips/lib/ |
Daniel Schwierzeck | 74fc3c0 | 2015-01-29 14:47:01 +0100 | [diff] [blame] | 9 | |
Daniel Schwierzeck | e6e124b | 2015-12-21 16:35:13 +0100 | [diff] [blame] | 10 | machine-$(CONFIG_SOC_AU1X00) += au1x00 |
| 11 | |
| 12 | machdirs := $(patsubst %,arch/mips/mach-%/,$(machine-y)) |
| 13 | libs-y += $(machdirs) |
| 14 | |
| 15 | PLATFORM_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) |