Skip to content

Commit

Permalink
2024年6月1日更新。
Browse files Browse the repository at this point in the history
1、更新软件版本到2024年6月1日时的发布状态。
2、完善架构数据data文件的定义及架构名称文件的定义。
3、增加用来设置定义默认程序机制、系统脚本包(yb-default-select),以及构建中需要的支持函数。
4、增加 kernel_pack.sh 脚本,一个用户自编内核转成勇豹系统使用格式的工具。
5、增加benchmark制作组。
6、更新发布信息收集脚本release_info.sh和live目录生成脚本live_os.sh,以支持update目录。
7、更新构建系统脚本build.sh,增加支持VERSION参数指定使用软件的不同版本来构建某个具体步骤。
8、修改下载脚本get_all_package_url.sh,支持使用VERSION指定软件版本的下载。
9、增加自定义脚本create_mingw_toolchain.sh,用于创建mingw的工具链。
10、增加自定义脚本create_mini_chroot_sysroot.sh,用于创建一个小型的sysroot。
11、更新env配置文件。
  • Loading branch information
sunhaiyong1978 committed Jun 1, 2024
1 parent 61c739a commit 91ba455
Show file tree
Hide file tree
Showing 2,415 changed files with 44,435 additions and 42,225 deletions.
170 changes: 143 additions & 27 deletions loongarch64/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ declare AUTO_SET_PARENT_DIR=0
declare SET_PARENT_DIR=""
declare OPT_SET_PARENT_DIR=""
declare OPT_SET_OVERLAY_DIR=""
declare BUILD_PACKAGE_CHECK=0

while getopts 'fao:rgsde:xi:S:O:h' OPT; do
while getopts 'fao:rgsde:xi:S:O:th' OPT; do
case $OPT in
f)
FORCE_BUILD=1
Expand Down Expand Up @@ -67,6 +68,9 @@ while getopts 'fao:rgsde:xi:S:O:h' OPT; do
O)
SET_PARENT_DIR=$OPTARG
;;
t)
BUILD_PACKAGE_CHECK=1
;;
h|?)
echo "目标系统构建命令。"
echo ""
Expand All @@ -91,12 +95,16 @@ while getopts 'fao:rgsde:xi:S:O:h' OPT; do
echo " -i: 设置指定的步骤文件(.step)或步骤索引文件(.index)。"
echo " -S <目录名>: 构建过程中默认安装到sysroot目录中的文件将安装到指定目录中。"
echo " -O <目录名>: 构建过程中设置用于OverlayFS的目录,当需要指定多个目录时使用“,”符号进行分隔,特殊名称ORIG代表编译的软件包所在组设置的目录,目录优先级从后往前。"
echo " -t: 对构建过程中编译的软件判断当构建目标架构与当前架构相同时进行编译测试过程。"
exit 127
esac
done
shift $(($OPTIND - 1))


export BUILD_PACKAGE_CHECK=${BUILD_PACKAGE_CHECK}


if [ "x${SET_STEP_FILE}" != "x" ]; then
case "x${SET_STEP_FILE#*.}" in
"xindex")
Expand Down Expand Up @@ -158,7 +166,7 @@ function get_all_set_env_expr
do
if [ "x${i:0:1}" == "x%" ]; then
SET_ENV[${SET_COUNT}]=$(echo ${i:1} | awk -F'=' '{ print $1 }')
DEFAULT_ENV[${SET_COUNT}]=$(echo ${i:1} | awk -F'=' '{ print $2 }' | sed "s@[^[:alnum:]\|^[:space:]\|^_\|^-]@@g")
DEFAULT_ENV[${SET_COUNT}]=$(echo ${i:1} | awk -F'=' '{ print $2 }' | sed "s@[^?\|^[:alnum:]\|^[:space:]\|^_\|^-]@@g")
((SET_COUNT++))
fi
done
Expand All @@ -170,10 +178,8 @@ function get_all_set_env_expr
for i in ${SET_ENV[*]}
do
case "${i}" in
PARENT)
continue
;;
OVERLAY)
PARENT | OVERLAY | VERSION )
((TEMP_COUNT++))
continue
;;
*)
Expand All @@ -188,7 +194,9 @@ function get_all_set_env_expr
if [ "x${DEFAULT_ENV[${TEMP_COUNT}]}" != "x" ]; then
if [ "x${DEFAULT_ENV[${TEMP_COUNT}]:0:1}" == "x?" ]; then
if [ "x${USE_ENV[${USE_ENV_COUNT}]}" == "x" ]; then
USE_ENV[${USE_ENV_COUNT}]="${i}=${DEFAULT_ENV[${TEMP_COUNT}]}"
USE_ENV[${USE_ENV_COUNT}]="${i}=${DEFAULT_ENV[${TEMP_COUNT}]:1}"
# else
# USE_ENV[${USE_ENV_COUNT}]="${i}=${GET_ENV_VALUE}"
fi
else
USE_ENV[${USE_ENV_COUNT}]="${i}=${DEFAULT_ENV[${TEMP_COUNT}]}"
Expand All @@ -207,25 +215,43 @@ function test_filter_str
declare FILTER_FILE="${1}"
declare TEST_STR="${2}"
declare RET_STR="0"
TEST_KEY=$(echo ${i:1} | awk -F'=' '{ print $1 }')
TEST_VALUE=$(echo "${2}" | awk -F'=' '{ print $2 }' | sed "s@\&@,@g")
declare GET_ENV_VALUE=""
TEST_KEY=$(echo ${TEST_STR} | awk -F'=' '{ print $1 }')
TEST_VALUE=$(echo "${TEST_STR}" | awk -F'=' '{ print $2 }' | sed "s@\&@,@g" | sed "s@^\?@@g")
FILTER_STR="$(cat ${FILTER_FILE} | grep "^${TEST_KEY}=" | awk -F'=' '{ print $2 }')"

GET_ENV_VALUE="$(cat ${NEW_TARGET_SYSDIR}/set_env.conf | grep "^export YONGBAO_SET_ENV_${TEST_KEY}=" | awk -F'=' '{ print $2 }')"

# if [ "x${TEST_VALUE}" == "x" ] && [ "x${GET_ENV_VALUE}" == "x" ]; then
# echo "0"
# return
# fi
if [ "x${FILTER_STR}" != "x" ]; then
for i in $(echo "${FILTER_STR}")
do
# echo "GET_ENV_VALUE=${GET_ENV_VALUE} TEST_VALUE=${TEST_VALUE} i=${i:1}"
case "x${i:0:1}" in
"x!")
if [ "x${i:1}" == "x${TEST_VALUE}" ]; then
echo "1"
return;
fi
if [ "x${i:1}" == "x${GET_ENV_VALUE}" ]; then
echo "1"
return;
fi
;;
*)
if [ "x${i}" == "x${TEST_VALUE}" ]; then
RET_STR="0"
return;
break;
else
RET_STR="1"
if [ "x${i}" == "x${GET_ENV_VALUE}" ]; then
RET_STR="0"
break;
else
RET_STR="1"
fi
fi
;;
esac
Expand All @@ -248,10 +274,12 @@ function test_filter_form_opt
do
if [ "x${i:0:1}" == "x%" ]; then
case "x$(echo ${i:1} | awk -F'=' '{ print $1 }')" in
"xOVERLAY" | "xPARENT")
"xOVERLAY" | "xPARENT" | "xVERSION")
continue;
;;
*)
# echo "test_filter_str ${2} ${i:1}"
# test_filter_str "${2}" "${i:1}"
if [ "x$(test_filter_str "${2}" "${i:1}")" == "x1" ]; then
echo "1"
return;
Expand Down Expand Up @@ -305,6 +333,26 @@ function set_parent_dir_form_opt
echo ""
}

function set_version_index_form_opt
{
declare SET_STR="${1}"

for i in $(echo "${SET_STR}" | tr ";" "\\n")
do
if [ "x${i:0:1}" == "x%" ]; then
case "x$(echo ${i:1} | awk -F'=' '{ print $1 }')" in
"xVERSION")
echo "$(echo ${i:1} | awk -F'=' '{ print $2 }' | sed "s@\&@,@g" | sed "s@[^?\|\.\|^[:alnum:]\|^[:space:]\|^_\|^-]@@g")"
return;
;;
*)
;;
esac
fi
done
echo ""
}


function get_all_can_set_env_str
{
Expand All @@ -330,7 +378,7 @@ function get_all_can_set_env_str

# SET_ENV[${SET_COUNT}]=${i:1}
SET_ENV[${SET_COUNT}]=$(echo ${i:1} | awk -F'=' '{ print $1 }')
DEFAULT_ENV[${SET_COUNT}]=$(echo ${i:1} | awk -F'=' '{ print $2 }' | sed "s@[^[:alnum:]\|^[:space:]\|^_\|^-]@@g")
DEFAULT_ENV[${SET_COUNT}]=$(echo ${i:1} | awk -F'=' '{ print $2 }' | sed "s@\.@_@g" | sed "s@[^?\|^[:alnum:]\|^[:space:]\|^_\|^-]@@g")
((SET_COUNT++))
fi
done
Expand All @@ -349,8 +397,8 @@ function get_all_can_set_env_str
if [ "x${DEFAULT_ENV[${TEMP_COUNT}]}" != "x" ]; then
if [ "x${DEFAULT_ENV[${TEMP_COUNT}]:0:1}" == "x?" ]; then
if [ "x${USE_ENV[${USE_ENV_COUNT}]}" == "x" ]; then
USE_ENV[${USE_ENV_COUNT}]=${DEFAULT_ENV[${TEMP_COUNT}]}
echo "export YONGBAO_SET_ENV_${i}=${DEFAULT_ENV[${TEMP_COUNT}]}" >> ${NEW_TARGET_SYSDIR}/package_env.conf
USE_ENV[${USE_ENV_COUNT}]=${DEFAULT_ENV[${TEMP_COUNT}]:1}
echo "export YONGBAO_SET_ENV_${i}=${DEFAULT_ENV[${TEMP_COUNT}]:1}" >> ${NEW_TARGET_SYSDIR}/package_env.conf
fi
else
USE_ENV[${USE_ENV_COUNT}]=${DEFAULT_ENV[${TEMP_COUNT}]}
Expand Down Expand Up @@ -1205,7 +1253,8 @@ function create_os_run
if [ -f env/${STEP_STAGE}/overlay.set ]; then
declare OS_RUN_OVERLAY_DIR=$(get_overlay_dirname env/${STEP_STAGE}/overlay.set)
if [ ! -f ${NEW_TARGET_SYSDIR}/overlaydir/${OS_RUN_OVERLAY_DIR}.released ]; then
if [ -f ${NEW_TARGET_SYSDIR}/status/${STEP_STAGE}/${PACKAGE_NAME}_${STEP_STAGE}_${PACKAGE_INDEX} ]; then
# if [ -f ${NEW_TARGET_SYSDIR}/status/${STEP_STAGE}/${PACKAGE_NAME}_${STEP_STAGE}_${PACKAGE_INDEX} ]; then
if [ -f ${NEW_TARGET_SYSDIR}/status/${STEP_STAGE}/${STATUS_FILE} ]; then
if [ -f ${SCRIPTS_DIR}/step/${SCRIPT_FILE}.os_first_run ]; then
echo ""
echo "创建 ${NEW_TARGET_SYSDIR}/scripts/os_first_run/${STEP_STAGE}.${PACKAGE_NAME}.run "
Expand All @@ -1218,7 +1267,9 @@ function create_os_run
fi
fi
else
if [ -f ${NEW_TARGET_SYSDIR}/status/update/${STEP_STAGE}/${PACKAGE_NAME}_${STEP_STAGE}_${PACKAGE_INDEX} ]; then
# echo "${NEW_TARGET_SYSDIR}/status/update/${STEP_STAGE}/${STATUS_FILE} ...."
# if [ -f ${NEW_TARGET_SYSDIR}/status/update/${STEP_STAGE}/${PACKAGE_NAME}_${STEP_STAGE}_${PACKAGE_INDEX} ]; then
if [ -f ${NEW_TARGET_SYSDIR}/status/update/${STEP_STAGE}/${STATUS_FILE} ]; then
if [ -f ${SCRIPTS_DIR}/step/${SCRIPT_FILE}.os_first_run ]; then
echo ""
echo "创建 ${NEW_TARGET_SYSDIR}/scripts/update/os_first_run/${STEP_STAGE}.${PACKAGE_NAME}.run "
Expand Down Expand Up @@ -1430,12 +1481,38 @@ function cp_file_and_sources
function start_download_source
{
echo -n -e "\r下载 ${1} 所需的源码包及资源文件..."
tools/get_all_package_url.sh -p -s ${1} > /dev/null
if [ "x$?" == "x0" ]; then
echo "完成!"
else
echo -e "\e[32m失败!\e[0m"
fi
for down_retry in 1 2 3
do
tools/get_all_package_url.sh -p -s ${1} > /dev/null
if [ "x$?" == "x0" ]; then
echo "完成!"
break;
else
echo -e "\e[32m失败!\e[0m"
fi
echo -n "尝试再次下载 ${1} 所需的源码包及资源文件..."
done
cp_file_and_sources 0
}

function start_download_source_for_version_index
{
echo -n -e "\r下载 ${1} 所需的源码包及资源文件..."
for down_retry in 1 2 3
do
if [ "x${2}" != "x" ]; then
tools/get_all_package_url.sh -v "${2}" -p -s ${1} > /dev/null
else
tools/get_all_package_url.sh -p -s ${1} > /dev/null
fi
if [ "x$?" == "x0" ]; then
echo "完成!"
break;
else
echo -e "\e[32m失败!\e[0m"
fi
echo -n "尝试再次下载 ${1} 所需的源码包及资源文件..."
done
cp_file_and_sources 0
}

Expand Down Expand Up @@ -1683,8 +1760,13 @@ do
PACKAGE_GIT_COMMIT=""

if [ -f ${SCRIPTS_DIR}/step/${STEP_STAGE}/${PACKAGE_NAME}.parmfilter ]; then
# test_filter_form_opt "${PACKAGE_ALL_OPT}" "${SCRIPTS_DIR}/step/${STEP_STAGE}/${PACKAGE_NAME}.parmfilter"
if [ "x$(test_filter_form_opt "${PACKAGE_ALL_OPT}" "${SCRIPTS_DIR}/step/${STEP_STAGE}/${PACKAGE_NAME}.parmfilter" )" != "x0" ]; then
echo -e "\r\e[33m发现 ${STEP_STAGE} 组中的 ${PACKAGE_NAME} 软件包 在 "$(get_all_set_env_expr "${PACKAGE_ALL_OPT}")" 的时候不符合制作条件。\e[0m"
if [ "x$(get_all_set_env_expr "${PACKAGE_ALL_OPT}")" == "x" ]; then
echo -e "\r\e[33m发现 ${STEP_STAGE} 组中的 ${PACKAGE_NAME} 软件包当前设置不符合制作条件。\e[0m"
else
echo -e "\r\e[33m发现 ${STEP_STAGE} 组中的 ${PACKAGE_NAME} 软件包因 "$(get_all_set_env_expr "${PACKAGE_ALL_OPT}")" 设置而不符合制作条件。\e[0m"
fi
continue;
fi
fi
Expand All @@ -1707,6 +1789,8 @@ do
PACKAGE_SET_ENV=$(get_all_can_set_env_str "${PACKAGE_ALL_OPT}")
PACKAGE_SET_STATUS_FILE=$(get_can_set_status_file "${PACKAGE_ALL_OPT}")

OPT_SET_VERSION_INDEX="$(set_version_index_form_opt "${PACKAGE_ALL_OPT}")"

# if [ "x${OPT_SET_PARENT_DIR}" != "x" ]; then
# echo -n "${PACKAGE_NAME} 设置了临时上级目录: ${OPT_SET_PARENT_DIR} 。"
# fi
Expand All @@ -1727,11 +1811,28 @@ do
fi


# echo ""
# echo "OVERLAY_DIR: ${OVERLAY_DIR}"
# echo "SET_OVERLAY_DIR: ${SET_OVERLAY_DIR}"
# echo "AUTO_SET_OVERLAY_DIR: ${AUTO_SET_OVERLAY_DIR}"

STATUS_FILE="${PACKAGE_NAME}${PACKAGE_SET_ENV}_${STEP_STAGE}_${PACKAGE_INDEX}"
if [ "x${SET_OVERLAY_DIR}" != "x" ] && [ "x{AUTO_SET_OVERLAY_DIR}" == "x0" ]; then
STATUS_FILE="${PACKAGE_NAME}${PACKAGE_SET_ENV}_${STEP_STAGE}_${SET_OVERLAY_DIR}_${PACKAGE_INDEX}"
else
# if [ "x${SET_OVERLAY_DIR}" != "x" ]; then
# STATUS_FILE="${PACKAGE_NAME}${PACKAGE_SET_ENV}_${STEP_STAGE}_${SET_OVERLAY_DIR}_${PACKAGE_INDEX}"
# fi
if [ "x${SET_OVERLAY_DIR}" != "x" ] && [ "x${AUTO_SET_OVERLAY_DIR}" != "x1" ]; then
STATUS_FILE="${PACKAGE_NAME}${PACKAGE_SET_ENV}_${STEP_STAGE}_${SET_OVERLAY_DIR}_${PACKAGE_INDEX}"
fi
fi

if [ "x${OPT_SET_VERSION_INDEX}" == "x" ]; then
SCRIPT_FILE=$(echo "${line}" | awk -F' ' '{ print $2 }' | sed "s@ *step\/@@g")
else
SCRIPT_FILE=$(echo "${line}" | awk -F' ' '{ print $2 }' | sed "s@ *step\/@@g").${OPT_SET_VERSION_INDEX}
fi
SCRIPT_FILE=$(echo "${line}" | awk -F' ' '{ print $2 }' | sed "s@ *step\/@@g")

if [ "x${PACKAGE_NAME}" == "xbegin_run" ] || [ "x${PACKAGE_NAME}" == "xoverlay_before_run" ] || [ "x${PACKAGE_NAME}" == "xoverlay_after_run" ] || [ "x${PACKAGE_NAME}" == "xoverlay_temp_fix_run" ]; then
echo "${STEP_STAGE}" >> ${NEW_TARGET_SYSDIR}/logs/step_${PACKAGE_NAME}_save
Expand All @@ -1742,6 +1843,7 @@ do
fi
if ([ -f ${NEW_TARGET_SYSDIR}/status/${STEP_STAGE}/${STATUS_FILE} ] || [ -f ${NEW_TARGET_SYSDIR}/status/update/${STEP_STAGE}/${STATUS_FILE} ]) && [ "x${SINGLE_PACKAGE}" == "x0" ] ; then
SHOW_PACKAGE_OPT="$(get_all_set_env_expr "${PACKAGE_ALL_OPT}")"
# echo "test ${NEW_TARGET_SYSDIR}/status/${STEP_STAGE}/${STATUS_FILE}"
echo "${PACKAGE_GIT_COMMIT}$(tools/show_package_script.sh -n ${SCRIPT_FILE})" | md5sum -c ${NEW_TARGET_SYSDIR}/status/${STEP_STAGE}/${STATUS_FILE} 2>/dev/null > /dev/null
if [ "$?" == "0" ] && ([ "x${FORCE_BUILD}" == "x0" ] || [ "x${FORCE_ALL_BUILD}" == "x0" ]); then
if [ "x${SHOW_PACKAGE_OPT}" == "x" ]; then
Expand Down Expand Up @@ -1778,14 +1880,21 @@ do

if [ "x${PACKAGE_NAME}" != "xfinal_run" ]; then
if [ "x${FORCE_ALL_DOWNLOAD}" == "x0" ]; then
start_download_source "${STEP_STAGE}/${PACKAGE_NAME}"
if [ "x${OPT_SET_VERSION_INDEX}" == "x" ]; then
start_download_source "${STEP_STAGE}/${PACKAGE_NAME}"
else
start_download_source_for_version_index "${STEP_STAGE}/${PACKAGE_NAME}" "${OPT_SET_VERSION_INDEX}"
fi
fi
SHOW_PACKAGE_OPT="$(get_all_set_env_expr "${PACKAGE_ALL_OPT}")"
if [ "x${SHOW_PACKAGE_OPT}" == "x" ]; then
echo -e "\r开始执行 ${STEP_STAGE} 组中的 ${PACKAGE_NAME} 软件包的制作步骤...\033[0K"
else
echo -e "\r开始执行 ${STEP_STAGE} 组中的 ${PACKAGE_NAME} 软件包 ${SHOW_PACKAGE_OPT} 的制作步骤...\033[0K"
fi
if [ "x${OPT_SET_VERSION_INDEX}" != "x" ]; then
echo "本次步骤构建额外版本 ${OPT_SET_VERSION_INDEX} ..."
fi

if [ "x${OPT_SET_PARENT_DIR}" != "x" ]; then
echo "${PACKAGE_NAME} 设置了临时上级目录: ${OPT_SET_PARENT_DIR}"
Expand Down Expand Up @@ -1918,11 +2027,18 @@ do
if [ "x${PACKAGE_INFO}" != "x" ]; then
PACKAGE_INFO_VERSION="$(echo ${PACKAGE_INFO} | awk -F'|' '{ print $2 }' | sed "s@-default\$@@g")"
PACKAGE_INFO_NAME="$(echo ${PACKAGE_INFO} | awk -F'|' '{ print $3 }')"
if [ "x${OPT_SET_VERSION_INDEX}" != "x" ]; then
PACKAGE_INFO_NAME="${PACKAGE_INFO_NAME}.${OPT_SET_VERSION_INDEX}"
fi
if [ "x${PACKAGE_INFO_NAME}" != "x" ] && [ "x${PACKAGE_INFO_NAME}" != "xNULL" ]; then
if [ "x${PACKAGE_GIT_COMMIT}" == "x" ]; then
echo "${PACKAGE_INFO_VERSION}" > ${NEW_TARGET_SYSDIR}/overlaydir/${SAVEFILE_OVERLAY_NAME}/var/Yongbao/status/${PACKAGE_INFO_NAME}
else
echo "git${PACKAGE_GIT_COMMIT}" > ${NEW_TARGET_SYSDIR}/overlaydir/${SAVEFILE_OVERLAY_NAME}/var/Yongbao/status/${PACKAGE_INFO_NAME}
if [ -f ${NEW_TARGET_SYSDIR}/common_files/${PACKAGE_INFO_NAME}.version ]; then
cat ${NEW_TARGET_SYSDIR}/common_files/${PACKAGE_INFO_NAME}.version > ${NEW_TARGET_SYSDIR}/overlaydir/${SAVEFILE_OVERLAY_NAME}/var/Yongbao/status/${PACKAGE_INFO_NAME}
else
echo "git_$(echo ${PACKAGE_GIT_COMMIT} | awk -F'=' '{ print $2 }' | cut -c 1-12)" > ${NEW_TARGET_SYSDIR}/overlaydir/${SAVEFILE_OVERLAY_NAME}/var/Yongbao/status/${PACKAGE_INFO_NAME}
fi
fi
fi
fi
Expand Down
2 changes: 2 additions & 0 deletions loongarch64/custom/create_mingw_toolchain.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ./build.sh -o mingw -g mingw_sysroot
./build.sh -o mingw -e host=mingw64,target=loongarch64 toolchain
33 changes: 33 additions & 0 deletions loongarch64/custom/create_mini_chroot_sysroot.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
declare CUSTOM_TARGET_NAME="loongarch64"
declare FORCE_BUILD=0

while getopts 't:h' OPT; do
case $OPT in
t)
CUSTOM_TARGET_NAME=$OPTARG
;;
f)
FORCE_BUILD=1
;;
h|?)
echo "目标系统构建命令。"
exit 0
;;
esac
done
shift $(($OPTIND - 1))

case "${CUSTOM_TARGET_NAME}" in
loongarch64 | x86_64 | i686 | mips64el | riscv64 )
;;
*)
echo "不支持 ${CUSTOM_TARGET_NAME} 架构的构建。"
exit 1
;;
esac

if [ "x${FORCE_BUILD}" == "x0" ]; then
./build.sh -S mini_runtime -e target=${CUSTOM_TARGET_NAME} -i steps/mini_chroot_sysroot.index
else
./build.sh -a -f -S mini_runtime -e target=${CUSTOM_TARGET_NAME} -i steps/mini_chroot_sysroot.index
fi
1 change: 1 addition & 0 deletions loongarch64/env/KDE6/config
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export LIB_SUFF="64"
export ARCH_BIT=64
export CFLAGS="-O3"
export CXXFLAGS="-O3"
export RUN_TARGET_ARCH=${HOST_ARCH_NAME}
export PREFIX=/usr
export LDFLAGS="-Wl,-rpath-link=${SYSROOT_DIR}/usr/lib${LIB_SUFF}"
export PKG_CONFIG_SYSROOT_DIR=${SYSROOT_DIR}
Expand Down
Loading

0 comments on commit 91ba455

Please sign in to comment.