]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/um/kernel/skas/Makefile
[PATCH] uml: cleanup unprofile expression and build infrastructure
[linux-beck.git] / arch / um / kernel / skas / Makefile
index ad842964707a9312ba85ac051b7461b3edec2732..ea3a8e409a6e69c05d18634acc724f7fc5bbcf94 100644 (file)
@@ -6,16 +6,11 @@
 obj-y := clone.o exec_kern.o mem.o mmu.o process_kern.o \
        syscall.o tlb.o uaccess.o
 
-USER_OBJS := clone.o
-
-include arch/um/scripts/Makefile.rules
-
 # clone.o is in the stub, so it can't be built with profiling
 # GCC hardened also auto-enables -fpic, but we need %ebx so it can't work ->
 # disable it
 
 CFLAGS_clone.o := $(CFLAGS_NO_HARDENING)
+UNPROFILE_OBJS := clone.o
 
-# since we're setting c_flags we _must_ add $(CFLAGS_$(*F).o).
-
-$(obj)/clone.o : c_flags = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS)) $(CFLAGS_$(*F).o)
+include arch/um/scripts/Makefile.rules