Makefile 793 B

1234567891011121314151617181920212223242526272829
  1. obj-y = bitops.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
  2. ptrace_user.o semaphore.o signal.o sigcontext.o stub.o stub_segv.o \
  3. syscalls.o sysrq.o sys_call_table.o
  4. obj-$(CONFIG_HIGHMEM) += highmem.o
  5. obj-$(CONFIG_MODULES) += module.o
  6. USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o
  7. SYMLINKS = bitops.c semaphore.c highmem.c module.c
  8. include arch/um/scripts/Makefile.rules
  9. bitops.c-dir = lib
  10. semaphore.c-dir = kernel
  11. highmem.c-dir = mm
  12. module.c-dir = kernel
  13. STUB_CFLAGS = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS))
  14. # _cflags works with kernel files, not with userspace ones, but c_flags does,
  15. # why ask why?
  16. $(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS)
  17. $(obj)/stub.o : a_flags = $(STUB_CFLAGS)
  18. subdir- := util
  19. include arch/um/scripts/Makefile.unmap