Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/compat32/aarch64/Makefile.inc
- This file was moved from tests/sys/compat32/aarch64/Makefile.
# XXX: Doesn't work with GCC and requires an LLVM with the ARM backend | |||||
.if 0 | .if 0 | ||||
PACKAGE= tests | # XXX: Doesn't work with GCC and requires an LLVM with the ARM backend | ||||
jrtc27: Reason for moving the comment? | |||||
kevansAuthorUnsubmitted Done Inline ActionsWhoops, just sloppy; had moved it further down to ACFLAGS and split off -target armv7-unknown-freebsd$(OS_REVISION) into -m32 -march=armv7 on a separate line with the comment above it to note that it just won't work with GCC still, but then reverted that manually and managed to botch the comment placement. Will move it back. kevans: Whoops, just sloppy; had moved it further down to ACFLAGS and split off `-target armv7-unknown… | |||||
FILESGROUPS+= asmprogs | FILESGROUPS+= asmprogs | ||||
ACFLAGS= -target armv7-unknown-freebsd${OS_REVISION} -nostdlib -Wl,-e -Wl,main -static | ACFLAGS= -target armv7-unknown-freebsd${OS_REVISION} -nostdlib -Wl,-e -Wl,main -static | ||||
TAP_TESTS_SH+= swp_cond_test | TAP_TESTS_SH+= swp_cond_test | ||||
TAP_TESTS_SH+= swp_test | TAP_TESTS_SH+= swp_test | ||||
${PACKAGE}FILES+= common.sh | ${PACKAGE}FILES+= common.sh | ||||
# Each test will individually respect the compat.arm.emul_swp | # Each test will individually respect the compat.arm.emul_swp | ||||
# sysctl upon entry. | # sysctl upon entry. | ||||
TEST_METADATA.swp_cond_test+= is_exclusive=true | TEST_METADATA.swp_cond_test+= is_exclusive=true | ||||
TEST_METADATA.swp_test+= is_exclusive=true | TEST_METADATA.swp_test+= is_exclusive=true | ||||
asmprogsMODE= 0755 | asmprogsMODE= 0755 | ||||
asmprogs+= swp_cond_test_impl swp_test_impl | asmprogs+= swp_cond_test_impl swp_test_impl | ||||
asmprogsDIR= ${TESTSDIR} | asmprogsDIR= ${TESTSDIR} | ||||
.for aprog in ${asmprogs} | .for aprog in ${asmprogs} | ||||
${aprog}: ${aprog}.S | ${aprog}: ${aprog}.S | ||||
${CC} ${ACFLAGS} -o ${.TARGET} ${.ALLSRC} | ${CC} ${ACFLAGS} -o ${.TARGET} ${.ALLSRC} | ||||
.endfor | .endfor | ||||
.include <bsd.test.mk> | |||||
.endif | .endif |
Reason for moving the comment?