Commit 31551116 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Michal Simek
Browse files

microblaze: move core-y in arch/microblaze/Makefile to arch/microblaze/Kbuild

parent e73f0f0e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
obj-y			+= kernel/
obj-y			+= mm/
obj-$(CONFIG_PCI)	+= pci/
obj-y			+= boot/dts/
+0 −5
Original line number Diff line number Diff line
@@ -50,17 +50,12 @@ KBUILD_CFLAGS += -ffixed-r31 $(CPUFLAGS-y) $(CPUFLAGS-1) $(CPUFLAGS-2)

head-y := arch/microblaze/kernel/head.o
libs-y += arch/microblaze/lib/
core-y += arch/microblaze/kernel/
core-y += arch/microblaze/mm/
core-$(CONFIG_PCI) += arch/microblaze/pci/

boot := arch/microblaze/boot

# Are we making a simpleImage.<boardname> target? If so, crack out the boardname
DTB:=$(subst simpleImage.,,$(filter simpleImage.%, $(MAKECMDGOALS)))

core-y	+= $(boot)/dts/

export DTB

all: linux.bin