mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 05:43:21 +09:00
![Daniel Schwierzeck](/assets/img/avatar_default.png)
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/
|