mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
6551b8c9b7
As it happens, two obj-$(CONFIG_FOO) += foo.o variables are above obj-y := core.o, which doesn't work: the += directives need to add something to the build and doesn't work if obj-y is not set first, so move the obj-y to be on top and everything builds nicely again. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 lines
617 B
Makefile
20 lines
617 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
|
|
-I$(srctree)/arch/arm/plat-versatile/include
|
|
|
|
obj-y := core.o
|
|
obj-$(CONFIG_REALVIEW_DT) += realview-dt.o
|
|
obj-$(CONFIG_SMP) += platsmp-dt.o
|
|
|
|
ifdef CONFIG_ATAGS
|
|
obj-$(CONFIG_MACH_REALVIEW_EB) += realview_eb.o
|
|
obj-$(CONFIG_MACH_REALVIEW_PB11MP) += realview_pb11mp.o
|
|
obj-$(CONFIG_MACH_REALVIEW_PB1176) += realview_pb1176.o
|
|
obj-$(CONFIG_MACH_REALVIEW_PBA8) += realview_pba8.o
|
|
obj-$(CONFIG_MACH_REALVIEW_PBX) += realview_pbx.o
|
|
obj-$(CONFIG_SMP) += platsmp.o
|
|
endif
|
|
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|