Blame env.d/200.targets.env

bf1a83
#
bf1a83
# Copyright (c) 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 LucĂ­a Andrea Illanes Albornoz <lucia@luciaillanes.de>
bf1a83
#
bf1a83
# WARNING: Do _NOT_ use whitespaces (` ') or tab (`	')
bf1a83
# characters in any of the variables below save for MAKEFLAGS,
bf1a83
# PATH, and TIMESTAMP_FMT.
bf1a83
#
bf1a83
# ${PREFIX_{CROSS,MINGW32,MINIPIX,NATIVE,RPM}} and ${BUILD_WORKDIR}
bf1a83
# must be immediately beneath ${PREFIX}. ${PREFIX} must be o+rwx.
bf1a83
# The variables mentioned should not be forward slash-terminated.
bf1a83
#
bf1a83
bf1a83
#
bf1a83
# cross target toolchain defaults
bf1a83
: ${DEFAULT_CROSS_AR:=${DEFAULT_TARGET}-ar};
bf1a83
: ${DEFAULT_CROSS_CC:=${DEFAULT_TARGET}-gcc};
bf1a83
: ${DEFAULT_CROSS_CCLD:=${DEFAULT_TARGET}-gcc};
bf1a83
: ${DEFAULT_CROSS_CMAKE:=cmake};
bf1a83
: ${DEFAULT_CROSS_CXX:=${DEFAULT_TARGET}-g++};
bf1a83
: ${DEFAULT_CROSS_LD:=${DEFAULT_TARGET}-ld};
bf1a83
: ${DEFAULT_CROSS_LIBTOOL:=slibtool};
bf1a83
: ${DEFAULT_CROSS_MAKE:=make};
bf1a83
: ${DEFAULT_CROSS_RANLIB:=${DEFAULT_TARGET}-ranlib};
bf1a83
bf1a83
#
bf1a83
# host target toolchain defaults
bf1a83
: ${DEFAULT_HOST_AR:=ar};
bf1a83
: ${DEFAULT_HOST_CC:=gcc};
bf1a83
: ${DEFAULT_HOST_CCLD:=gcc};
bf1a83
: ${DEFAULT_HOST_CMAKE:=cmake};
bf1a83
: ${DEFAULT_HOST_CXX:=g++};
bf1a83
: ${DEFAULT_HOST_LD:=ld};
bf1a83
: ${DEFAULT_HOST_LIBTOOL:=slibtool};
bf1a83
: ${DEFAULT_HOST_MAKE:=make};
bf1a83
: ${DEFAULT_HOST_PKG_CONFIG:=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config};
bf1a83
: ${DEFAULT_HOST_PKG_CONFIG_LIBDIR:=${PREFIX}/lib/pkgconfig};
bf1a83
: ${DEFAULT_HOST_RANLIB:=ranlib};
bf1a83
bf1a83
#
bf1a83
# native target toolchain defaults
bf1a83
: ${DEFAULT_NATIVE_AR:=${DEFAULT_TARGET}-ar};
bf1a83
: ${DEFAULT_NATIVE_CC:=${DEFAULT_TARGET}-gcc};
bf1a83
: ${DEFAULT_NATIVE_CCLD:=${DEFAULT_TARGET}-gcc};
bf1a83
: ${DEFAULT_NATIVE_CMAKE:=cmake};
bf1a83
: ${DEFAULT_NATIVE_CXX:=${DEFAULT_TARGET}-g++};
bf1a83
: ${DEFAULT_NATIVE_LD:=${DEFAULT_TARGET}-ld};
bf1a83
: ${DEFAULT_NATIVE_LIBTOOL:=slibtool};
bf1a83
: ${DEFAULT_NATIVE_MAKE:=make};
bf1a83
: ${DEFAULT_NATIVE_PKG_CONFIG:=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config};
bf1a83
: ${DEFAULT_NATIVE_PKG_CONFIG_LIBDIR:=${PREFIX}/lib/pkgconfig};
bf1a83
: ${DEFAULT_NATIVE_RANLIB:=${DEFAULT_TARGET}-ranlib};
bf1a83
bf1a83
#
bf1a83
# native target sofort defaults
bf1a83
: ${DEFAULT_SOFORT_NATIVE_CC:="${DEFAULT_HOST_CC}"};
bf1a83
: ${DEFAULT_SOFORT_NATIVE_CFLAGS:="-I${PREFIX}/include"};
bf1a83
: ${DEFAULT_SOFORT_NATIVE_CXX:="${DEFAULT_HOST_CXX}"};
bf1a83
: ${DEFAULT_SOFORT_NATIVE_CXXFLAGS:="-I${PREFIX}/include"};
bf1a83
: ${DEFAULT_SOFORT_NATIVE_LD:="${DEFAULT_HOST_CCLD}"};
bf1a83
: ${DEFAULT_SOFORT_NATIVE_LDFLAGS:="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"};
bf1a83
bf1a83
# vim:filetype=sh textwidth=0