os-test-bins: include and link files from sysroot

This commit is contained in:
Jeremy Soller 2026-01-12 15:21:29 -07:00
parent 0bdad8670b
commit e7f59bb39b
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -17,11 +17,18 @@ cd "${COOKBOOK_STAGE}/usr/share/os-test"
rsync -a "${COOKBOOK_SOURCE}/" "./"
# Pre-compile tests for Redox
make OS=Redox CC="${CC_WRAPPER} ${GNU_TARGET}-gcc" \
CFLAGS= CPPFLAGS= \
LDFLAGS= EXTRA_LDFLAGS= \
CC_FOR_BUILD="${CC_WRAPPER} cc" CFLAGS_FOR_BUILD= CPPFLAGS_FOR_BUILD= \
LDFLAGS_FOR_BUILD= -j ${COOKBOOK_MAKE_JOBS} all
make OS=Redox \
CC="${CC_WRAPPER} ${GNU_TARGET}-gcc" \
CFLAGS="-I${COOKBOOK_SYSROOT}/include" \
CPPFLAGS="-I${COOKBOOK_SYSROOT}/include" \
LDFLAGS="-L${COOKBOOK_SYSROOT}/lib" \
EXTRA_LDFLAGS= \
CC_FOR_BUILD="${CC_WRAPPER} cc" \
CFLAGS_FOR_BUILD= \
CPPFLAGS_FOR_BUILD= \
LDFLAGS_FOR_BUILD= \
-j "${COOKBOOK_MAKE_JOBS}" \
all
skips=(
# These tests hang