Makefile 650 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Makefile for the linux kernel.
  3. #
  4. CPPFLAGS_vmlinux.lds := -DTEXTADDR=$(TEXTADDR)
  5. AFLAGS_head.o := -DTEXTADDR=$(TEXTADDR)
  6. # Object file lists.
  7. obj-y := ex-entry.o ex-exit.o ex-scall.o irq.o \
  8. process.o ptrace.o setup.o signal.o \
  9. sys_nds32.o time.o traps.o cacheinfo.o \
  10. dma.o syscall_table.o vdso.o
  11. obj-$(CONFIG_MODULES) += nds32_ksyms.o module.o
  12. obj-$(CONFIG_STACKTRACE) += stacktrace.o
  13. obj-$(CONFIG_OF) += devtree.o
  14. obj-$(CONFIG_CACHE_L2) += atl2c.o
  15. extra-y := head.o vmlinux.lds
  16. obj-y += vdso/
  17. obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
  18. ifdef CONFIG_FUNCTION_TRACER
  19. CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
  20. endif