Skip to content

Commit

Permalink
[PATCH] uml: build cleanup
Browse files Browse the repository at this point in the history
Build cleanups

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 5, 2005
1 parent ec7cf78 commit 93ea5a5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions arch/um/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ SYS_DIR := $(ARCH_DIR)/include/sysdep-$(SUBARCH)

CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \
$(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap
AFLAGS += $(ARCH_INCLUDE)

USER_CFLAGS := $(patsubst -I%,,$(CFLAGS))
USER_CFLAGS := $(patsubst -D__KERNEL__,,$(USER_CFLAGS)) $(ARCH_INCLUDE) \
Expand Down
2 changes: 0 additions & 2 deletions arch/um/sys-i386/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ STUB_CFLAGS = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS))
# why ask why?
$(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS)

$(obj)/stub.o : a_flags = $(STUB_CFLAGS)

subdir- := util

include arch/um/scripts/Makefile.unmap
2 changes: 0 additions & 2 deletions arch/um/sys-x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ STUB_CFLAGS = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS))
# why ask why?
$(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS)

$(obj)/stub.o : a_flags = $(STUB_CFLAGS)

subdir- := util

include arch/um/scripts/Makefile.unmap

0 comments on commit 93ea5a5

Please sign in to comment.