xref: /freebsd/tests/sys/compat32/aarch64/Makefile (revision 28f66935d400eb3fb52f4e64931c0cb3c9d24be4)
1# XXX: Doesn't work with GCC and requires an LLVM with the ARM backend
2.if 0
3PACKAGE=	tests
4FILESGROUPS+=	asmprogs
5
6ACFLAGS= -target armv7-unknown-freebsd${OS_REVISION} -nostdlib -Wl,-e -Wl,main -static
7
8TAP_TESTS_SH+=	swp_cond_test
9TAP_TESTS_SH+=	swp_test
10${PACKAGE}FILES+=	common.sh
11
12# Each test will individually respect the compat.arm.emul_swp
13# sysctl upon entry.
14TEST_METADATA.swp_cond_test+=	is_exclusive=true
15TEST_METADATA.swp_test+=	is_exclusive=true
16
17asmprogsMODE=		0755
18asmprogs+=	swp_cond_test_impl swp_test_impl
19asmprogsDIR=	${TESTSDIR}
20
21.for aprog in ${asmprogs}
22${aprog}: ${aprog}.S
23	${CC} ${ACFLAGS} -o ${.TARGET} ${.ALLSRC}
24.endfor
25
26.include <bsd.test.mk>
27.endif
28