aboutsummaryrefslogtreecommitdiff
path: root/arch/um/os-Linux/Makefile
blob: 0b761a08f0df973659bbb13b1fa20d1afd9aad27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 
# Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
# Licensed under the GPL
#

obj-y = aio.o elf_aux.o file.o main.o mem.o process.o signal.o start_up.o \
	time.o tt.o tty.o uaccess.o user_syms.o drivers/ sys-$(SUBARCH)/

USER_OBJS := aio.o elf_aux.o file.o main.o mem.o process.o signal.o \
	start_up.o time.o tt.o tty.o uaccess.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