git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
um
/
kernel
/
skas
/
Makefile
diff --git
a/arch/um/kernel/skas/Makefile
b/arch/um/kernel/skas/Makefile
index
37d3f7e
..
ea3a8e4
100644
(file)
--- a/
arch/um/kernel/skas/Makefile
+++ b/
arch/um/kernel/skas/Makefile
@@
-1,16
+1,16
@@
-#
-# Copyright (C) 2002
Jeff Dike (jdike@karaya
.com)
+#
+# Copyright (C) 2002
- 2004 Jeff Dike (jdike@addtoit
.com)
# Licensed under the GPL
#
# Licensed under the GPL
#
-obj-y := exec_kern.o exec_user.o mem.o mem_user.o mmu.o process.o \
- process_kern.o syscall_kern.o syscall_user.o time.o tlb.o trap_user.o \
- uaccess.o sys-$(SUBARCH)/
+obj-y := clone.o exec_kern.o mem.o mmu.o process_kern.o \
+ syscall.o tlb.o uaccess.o
-subdir-y := util
+# 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
-USER_OBJS = $(filter %_user.o,$(obj-y)) process.o time.o
-U
SER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))
+CFLAGS_clone.o := $(CFLAGS_NO_HARDENING)
+U
NPROFILE_OBJS := clone.o
-$(USER_OBJS) : %.o: %.c
- $(CC) $(CFLAGS_$(notdir $@)) $(USER_CFLAGS) -c -o $@ $<
+include arch/um/scripts/Makefile.rules