mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
63b4444241
Fix UML compilation when SKAS mode is disabled. Indeed, we were compiling SKAS-only object files, which failed due to some SKAS-only headers being excluded from the search path. Thanks to the bug report from Pekka J Enberg. Acked-by: Pekka J Enberg <penberg (at) cs ! helsinki ! fi> Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
24 lines
629 B
Makefile
24 lines
629 B
Makefile
obj-y := bitops.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
|
|
ptrace_user.o semaphore.o signal.o sigcontext.o syscalls.o sysrq.o \
|
|
sys_call_table.o
|
|
|
|
obj-$(CONFIG_MODE_SKAS) += stub.o stub_segv.o
|
|
|
|
obj-$(CONFIG_HIGHMEM) += highmem.o
|
|
obj-$(CONFIG_MODULES) += module.o
|
|
|
|
USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o stub_segv.o
|
|
|
|
SYMLINKS = bitops.c semaphore.c highmem.c module.c
|
|
|
|
include arch/um/scripts/Makefile.rules
|
|
|
|
bitops.c-dir = lib
|
|
semaphore.c-dir = kernel
|
|
highmem.c-dir = mm
|
|
module.c-dir = kernel
|
|
|
|
$(obj)/stub_segv.o : _c_flags = $(call unprofile,$(CFLAGS))
|
|
|
|
include arch/um/scripts/Makefile.unmap
|