mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
0915ee38c7
Mark a symbol and file as being tt-mode only. This shrinks the binary slightly when tt mode support is compiled out and makes it easier to identity stuff when tt mode is removed. 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>
29 lines
828 B
Makefile
29 lines
828 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 irq.o main.o mem.o process.o sigio.o \
|
|
signal.o start_up.o time.o trap.o tty.o uaccess.o umid.o tls.o \
|
|
user_syms.o util.o drivers/ sys-$(SUBARCH)/
|
|
|
|
obj-$(CONFIG_MODE_SKAS) += skas/
|
|
|
|
obj-$(CONFIG_MODE_TT) += tt.o
|
|
user-objs-$(CONFIG_MODE_TT) += tt.o
|
|
|
|
obj-$(CONFIG_TTY_LOG) += tty_log.o
|
|
user-objs-$(CONFIG_TTY_LOG) += tty_log.o
|
|
|
|
USER_OBJS := $(user-objs-y) aio.o elf_aux.o file.o helper.o irq.o main.o mem.o \
|
|
process.o sigio.o signal.o start_up.o time.o trap.o tty.o tls.o \
|
|
uaccess.o umid.o util.o
|
|
|
|
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
|