Makefile 592 B

123456789101112131415161718192021
  1. #
  2. # Copyright (C) 2002 - 2004 Jeff Dike (jdike@addtoit.com)
  3. # Licensed under the GPL
  4. #
  5. obj-y := clone.o exec_kern.o mem.o mmu.o process_kern.o \
  6. syscall.o tlb.o uaccess.o
  7. USER_OBJS := clone.o
  8. include arch/um/scripts/Makefile.rules
  9. # clone.o is in the stub, so it can't be built with profiling
  10. # GCC hardened also auto-enables -fpic, but we need %ebx so it can't work ->
  11. # disable it
  12. CFLAGS_clone.o := $(CFLAGS_NO_HARDENING)
  13. # since we're setting c_flags we _must_ add $(CFLAGS_$(*F).o).
  14. $(obj)/clone.o : c_flags = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS)) $(CFLAGS_$(*F).o)