57e97cb8be
CPUs define pinmux tables through the optional interface, while boards that require demux of their own require it explicitly. Roll the Makefile rules back to depend on GENERIC_GPIO, which covers both cases. Fixes a link error with an undefined reference to register_pinmux() on optional platforms. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
20 lines
751 B
Text
20 lines
751 B
Text
extra-y := head_64.o init_task.o vmlinux.lds
|
|
|
|
obj-y := debugtraps.o idle.o io.o io_generic.o irq.o machvec.o process_64.o \
|
|
ptrace_64.o setup.o signal_64.o sys_sh.o sys_sh64.o \
|
|
syscalls_64.o time_64.o topology.o traps.o traps_64.o
|
|
|
|
obj-y += cpu/ timers/
|
|
obj-$(CONFIG_VSYSCALL) += vsyscall/
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o
|
|
obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o
|
|
obj-$(CONFIG_MODULES) += sh_ksyms_64.o module.o
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
|
|
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
|
obj-$(CONFIG_IO_TRAPPED) += io_trapped.o
|
|
obj-$(CONFIG_GENERIC_GPIO) += gpio.o
|
|
|
|
EXTRA_CFLAGS += -Werror
|