c57dafb5b4
Conditionally set head-y and lib-y with boolean Kconfig symbols for selected CPU. This deprecates the usage of the $(CPU) variable. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
11 lines
285 B
Makefile
11 lines
285 B
Makefile
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
head-$(CONFIG_CPU_MIPS32) := arch/mips/cpu/mips32/start.o
|
|
head-$(CONFIG_CPU_MIPS64) := arch/mips/cpu/mips64/start.o
|
|
|
|
libs-$(CONFIG_CPU_MIPS32) += arch/mips/cpu/mips32/
|
|
libs-$(CONFIG_CPU_MIPS64) += arch/mips/cpu/mips64/
|
|
libs-y += arch/mips/lib/
|