forked from Minki/linux
94c0931983
This patch merges the common routines of_device_alloc() and of_device_make_bus_id() from powerpc and microblaze. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> CC: Michal Simek <monstr@monstr.eu> CC: Grant Likely <grant.likely@secretlab.ca> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: Stephen Rothwell <sfr@canb.auug.org.au> CC: microblaze-uclinux@itee.uq.edu.au CC: linuxppc-dev@ozlabs.org CC: devicetree-discuss@lists.ozlabs.org
33 lines
846 B
Makefile
33 lines
846 B
Makefile
#
|
|
# Makefile
|
|
#
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
# Do not trace early boot code and low level code
|
|
CFLAGS_REMOVE_timer.o = -pg
|
|
CFLAGS_REMOVE_intc.o = -pg
|
|
CFLAGS_REMOVE_early_printk.o = -pg
|
|
CFLAGS_REMOVE_selfmod.o = -pg
|
|
CFLAGS_REMOVE_heartbeat.o = -pg
|
|
CFLAGS_REMOVE_ftrace.o = -pg
|
|
endif
|
|
|
|
extra-y := head.o vmlinux.lds
|
|
|
|
obj-y += dma.o exceptions.o \
|
|
hw_exception_handler.o init_task.o intc.o irq.o \
|
|
of_platform.o process.o prom.o prom_parse.o ptrace.o \
|
|
setup.o signal.o sys_microblaze.o timer.o traps.o reset.o
|
|
|
|
obj-y += cpu/
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
obj-$(CONFIG_SELFMOD) += selfmod.o
|
|
obj-$(CONFIG_HEART_BEAT) += heartbeat.o
|
|
obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
|
|
obj-$(CONFIG_MMU) += misc.o
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
|
|
|
|
obj-y += entry$(MMU).o
|