mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
This add a test for prctl interface that controls the use of userspace Vector. Signed-off-by: Andy Chiu <andy.chiu@sifive.com> Link: https://lore.kernel.org/r/20230605110724.21391-27-andy.chiu@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
16 lines
491 B
Makefile
16 lines
491 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2021 ARM Limited
|
|
# Originally tools/testing/arm64/abi/Makefile
|
|
|
|
TEST_GEN_PROGS := vstate_prctl
|
|
TEST_GEN_PROGS_EXTENDED := vstate_exec_nolibc
|
|
|
|
include ../../lib.mk
|
|
|
|
$(OUTPUT)/vstate_prctl: vstate_prctl.c ../hwprobe/sys_hwprobe.S
|
|
$(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
|
|
|
|
$(OUTPUT)/vstate_exec_nolibc: vstate_exec_nolibc.c
|
|
$(CC) -nostdlib -static -include ../../../../include/nolibc/nolibc.h \
|
|
-Wall $(CFLAGS) $(LDFLAGS) $^ -o $@ -lgcc
|