summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/arch/rlx/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/files/arch/rlx/kernel/Makefile')
-rw-r--r--target/linux/realtek/files/arch/rlx/kernel/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/realtek/files/arch/rlx/kernel/Makefile b/target/linux/realtek/files/arch/rlx/kernel/Makefile
new file mode 100644
index 000000000..5e866732a
--- /dev/null
+++ b/target/linux/realtek/files/arch/rlx/kernel/Makefile
@@ -0,0 +1,27 @@
+#
+# Makefile for the Linux/MIPS kernel.
+#
+
+extra-y := head.o init_task.o
+
+obj-y += cpu-probe.o branch.o entry.o genex.o irq.o process.o \
+ ptrace.o reset.o setup.o signal.o \
+ topology.o traps.o unaligned.o
+
+obj-y += rlx-switch.o syscall.o scall32-o32.o
+obj-y += rlx-time.o rlx-cevt.o
+
+obj-$(CONFIG_STACKTRACE) += stacktrace.o
+obj-$(CONFIG_MODULES) += mips_ksyms.o module.o
+obj-$(CONFIG_IRQ_CPU) += irq_cpu.o
+obj-$(CONFIG_IRQ_VEC) += irq_vec.o
+
+obj-$(CONFIG_KGDB) += kgdb.o
+obj-$(CONFIG_PROC_FS) += proc.o
+
+obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
+obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
+
+EXTRA_CFLAGS += -Werror
+EXTRA_CFLAGS += -I$(DIR_LINUX)/drivers/net/rtl819x/AsicDriver
+EXTRA_CFLAGS += -I$(DIR_LINUX)/drivers/net/rtl819x/common