Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117438
b: refs/heads/master
c: ec82c32
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and H. Peter Anvin committed Oct 23, 2008
1 parent dbccedf commit 94a51ff
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 26 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 887c57d480ee9dbfec53f2539359dd289f50acab
refs/heads/master: ec82c32d45644998a28abad0a6a9ccdd721a054e
15 changes: 2 additions & 13 deletions trunk/arch/um/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ core-y += $(ARCH_DIR)/kernel/ \
$(ARCH_DIR)/drivers/ \
$(ARCH_DIR)/os-$(OS)/

# XXX: The "os" symlink is only used by arch/um/include/os.h, which includes
# ../os/include/file.h
#
# These are cleaned up during mrproper. Please DO NOT fix it again, this is
# the Correct Thing(tm) to do!
ARCH_SYMLINKS = $(ARCH_DIR)/os $(ARCH_DIR)/include/shared/uml-config.h
ARCH_SYMLINKS = $(ARCH_DIR)/include/shared/uml-config.h

MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas

Expand Down Expand Up @@ -143,14 +140,6 @@ $(objtree)/$(ARCH_DIR)/include/shared:
@echo ' MKDIR $@'
$(Q)mkdir -p $@

$(ARCH_DIR)/os:
@echo ' SYMLINK $@'
ifneq ($(KBUILD_SRC),)
$(Q)ln -fsn $(srctree)/$(ARCH_DIR)/os-$(OS) $@
else
$(Q)ln -fsn os-$(OS) $@
endif

# Generated files
define filechk_umlconfig
sed 's/ CONFIG/ UML_CONFIG/'
Expand Down Expand Up @@ -182,4 +171,4 @@ $(ARCH_DIR)/include/shared/kern_constants.h: $(objtree)/$(ARCH_DIR)/include/shar
@echo ' SYMLINK $@'
$(Q)ln -sf ../../../../include/asm/asm-offsets.h $@

export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH
export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH DEV_NULL_PATH
1 change: 1 addition & 0 deletions trunk/arch/um/Makefile-os-Linux
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
# To get a definition of F_SETSIG
USER_CFLAGS += -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
KBUILD_CFLAGS += -D_LARGEFILE64_SOURCE
DEV_NULL_PATH = \"/dev/null\"
1 change: 1 addition & 0 deletions trunk/arch/um/drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ obj-$(CONFIG_UML_RANDOM) += random.o

# pcap_user.o must be added explicitly.
USER_OBJS := fd.o null.o pty.o tty.o xterm.o slip_common.o pcap_user.o vde_user.o
CFLAGS_null.o = -DDEV_NULL=$(DEV_NULL_PATH)

include arch/um/scripts/Makefile.rules
1 change: 0 additions & 1 deletion trunk/arch/um/include/shared/os.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "longjmp.h"
#include "mm_id.h"
#include "sysdep/tls.h"
#include "../../os/include/file.h"

#define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR))

Expand Down
11 changes: 0 additions & 11 deletions trunk/arch/um/os-Linux/include/file.h

This file was deleted.

0 comments on commit 94a51ff

Please sign in to comment.