X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fum%2Fkernel%2Fskas%2FMakefile;h=3e3fa7e7e3cfaf6ac5d72d88cc8108faefcdfd6d;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=72c79956f6a6a6c070b4f0252888efbb27c56200;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/um/kernel/skas/Makefile b/arch/um/kernel/skas/Makefile index 72c79956f..3e3fa7e7e 100644 --- a/arch/um/kernel/skas/Makefile +++ b/arch/um/kernel/skas/Makefile @@ -1,24 +1,15 @@ -# -# Copyright (C) 2002 Jeff Dike (jdike@karaya.com) +# +# Copyright (C) 2002 - 2004 Jeff Dike (jdike@addtoit.com) # 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 \ - sys-$(SUBARCH)/ - -USER_OBJS = $(filter %_user.o,$(obj-y)) process.o time.o -USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file)) - -include/skas_ptregs.h : util/mk_ptregs - util/mk_ptregs > $@ +obj-y := clone.o exec.o mem.o mmu.o process.o syscall.o tlb.o uaccess.o -util/mk_ptregs : - $(MAKE) -C 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) : %.o: %.c - $(CC) $(CFLAGS_$(notdir $@)) $(USER_CFLAGS) -c -o $@ $< +CFLAGS_clone.o := $(CFLAGS_NO_HARDENING) +UNPROFILE_OBJS := clone.o -clean : - $(MAKE) -C util clean - $(RM) -f include/skas_ptregs.h +include arch/um/scripts/Makefile.rules