[PATCH] uml: build cleanups
Added missing include list to uml AFLAGS Killed magic for stubs. [So] - it was needed only because of messed AFLAGS Switched segv_stubs.c to kernel CFLAGS sans profile, instead of user ones Killed STUBS_CFLAGS - it's not needed and the only remaining use had been gratitious - it only polluted CFLAGS Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -16,11 +16,7 @@ semaphore.c-dir = kernel
|
||||
highmem.c-dir = mm
|
||||
module.c-dir = kernel
|
||||
|
||||
STUB_CFLAGS = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS))
|
||||
|
||||
# _cflags works with kernel files, not with userspace ones, but c_flags does,
|
||||
# why ask why?
|
||||
$(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS)
|
||||
$(obj)/stub_segv.o : _c_flags = $(call unprofile,$(CFLAGS))
|
||||
|
||||
subdir- := util
|
||||
|
||||
|
@@ -3,8 +3,7 @@
|
||||
* Licensed under the GPL
|
||||
*/
|
||||
|
||||
#include <signal.h>
|
||||
#include <asm/sigcontext.h>
|
||||
#include <asm/signal.h>
|
||||
#include <asm/unistd.h>
|
||||
#include "uml-config.h"
|
||||
#include "sysdep/sigcontext.h"
|
||||
|
Reference in New Issue
Block a user