mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
2264c475e4
I reworked Gennady's umid OS abstraction patch because the code shouldn't be moved entirely to os. As it turns out, I moved most of it anyway. This patch is the minimal one needed to move the code and have it work. It turns out that the concept of the umid is OS-independent, but almost everything else about the implementation is OS-dependent. This is code movement without cleanup - a follow-on patch tidies everything up without shuffling code around. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
23 lines
656 B
Makefile
23 lines
656 B
Makefile
#
|
|
# Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
|
|
# Licensed under the GPL
|
|
#
|
|
|
|
obj-y = aio.o elf_aux.o file.o helper.o main.o mem.o process.o signal.o \
|
|
start_up.o time.o tt.o tty.o uaccess.o umid.o user_syms.o drivers/ \
|
|
sys-$(SUBARCH)/
|
|
|
|
USER_OBJS := aio.o elf_aux.o file.o helper.o main.o mem.o process.o signal.o \
|
|
start_up.o time.o tt.o tty.o uaccess.o umid.o
|
|
|
|
elf_aux.o: $(ARCH_DIR)/kernel-offsets.h
|
|
CFLAGS_elf_aux.o += -I$(objtree)/arch/um
|
|
|
|
CFLAGS_user_syms.o += -DSUBARCH_$(SUBARCH)
|
|
|
|
HAVE_AIO_ABI := $(shell [ -r /usr/include/linux/aio_abi.h ] && \
|
|
echo -DHAVE_AIO_ABI )
|
|
CFLAGS_aio.o += $(HAVE_AIO_ABI)
|
|
|
|
include arch/um/scripts/Makefile.rules
|