mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 05:15:11 +07:00
95608261da
elf_aux is userland code; it uses symbol (ELF_CLASS) that doesn't exist in userland headers; pulled into kernel-offsets.h, switched elf_aux to using it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 lines
575 B
Makefile
22 lines
575 B
Makefile
#
|
|
# Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
|
|
# Licensed under the GPL
|
|
#
|
|
|
|
obj-y = aio.o elf_aux.o file.o process.o signal.o start_up.o time.o tt.o \
|
|
tty.o user_syms.o drivers/ sys-$(SUBARCH)/
|
|
|
|
USER_OBJS := aio.o elf_aux.o file.o process.o signal.o start_up.o time.o tt.o \
|
|
tty.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
|