Blame midipix.env

Lucio Andrés Illanes Albornoz aa37e6
#
8d7a8a
# Copyright (c) 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 LucĂ­a Andrea Illanes Albornoz <lucia@luciaillanes.de>
8d7a8a
#
Lucio Andrés Illanes Albornoz aa37e6
# WARNING: Do _NOT_ use whitespaces (` ') or tab (`	')
Lucio Andrés Illanes Albornoz 12508d
# characters in any of the variables below save for MAKEFLAGS,
Lucio Andrés Illanes Albornoz 12508d
# PATH, and TIMESTAMP_FMT.
Lucio Andrés Illanes Albornoz 12508d
#
Lucio Andrés Illanes Albornoz b9a715
# ${PREFIX_{CROSS,MINGW32,MINIPIX,NATIVE,RPM}} and ${BUILD_WORKDIR}
Lucio Andrés Illanes Albornoz b9a715
# must be immediately beneath ${PREFIX}. ${PREFIX} must be o+rwx.
Lucio Andrés Illanes Albornoz b9a715
# The variables mentioned should not be forward slash-terminated.
Lucio Andrés Illanes Albornoz 12508d
#
Lucio Andrés Illanes Albornoz 12508d
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz 12508d
# Build {step,variable}s
Lucio Andrés Illanes Albornoz 3e5303
DEFAULT_BUILD_STEPS="											\
Lucio Andrés Illanes Albornoz 3e5303
	fetch_clean fetch_download fetch_extract 							\
Lucio Andrés Illanes Albornoz 3e5303
	configure_clean configure_patch_pre configure_autotools configure_patch configure		\
Lucio Andrés Illanes Albornoz 3e5303
	build_clean build										\
938c5c
	install_clean install_subdirs install_make install_files install install_rpm			\
Lucio Andrés Illanes Albornoz 3e5303
	clean												\
Lucio Andrés Illanes Albornoz 370e98
	finish";
Lucio Andrés Illanes Albornoz 3e5303
DEFAULT_BUILD_VARS="											\
368822
	AR AUTOCONF_CONFIG_GUESS BASE_DIR BUILD_DIR BUILD_STEPS_DISABLE BUILD_TYPE CC CCLD		\
368822
	CFLAGS_BUILD CFLAGS_BUILD_EXTRA CFLAGS_CONFIGURE CFLAGS_CONFIGURE_EXTRA CMAKE			\
368822
	CMAKE_ARGS CMAKE_ARGS_EXTRA CMAKE_LISTFILE CONFIG_CACHE CONFIG_CACHE_EXTRA			\
368822
	CONFIG_CACHE_LOCAL CONFIGURE CONFIGURE_ARGS CONFIGURE_ARGS_EXTRA				\
368822
	CONFIGURE_ARGS_EXTRA_LIST CONFIGURE_ARGS_LIST CONFIGURE_TYPE CPPFLAGS_CONFIGURE			\
1cbe20
	CXX CXXFLAGS_CONFIGURE CXXFLAGS_CONFIGURE_EXTRA DEPENDS DESTDIR DESTDIR_HOST			\
1cbe20
	DISABLED ENV_VARS_EXTRA FNAME FORCE_AUTORECONF GITROOT INHERIT_FROM INSTALL_FILES		\
1cbe20
	INSTALL_FILES_DESTDIR INSTALL_FILES_DESTDIR_EXTRA INSTALL_FILES_V2 INSTALL_TARGET		\
b70ff5
	INSTALL_TARGET_EXTRA IN_TREE LD LDFLAGS_BUILD LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE		\
1cbe20
	LDFLAGS_CONFIGURE_EXTRA LIBTOOL MAKE MAKEFLAGS_BUILD MAKEFLAGS_BUILD_EXTRA			\
1cbe20
	MAKEFLAGS_BUILD_EXTRA_LIST MAKEFLAGS_BUILD_LIST MAKEFLAGS_INSTALL				\
1cbe20
	MAKEFLAGS_INSTALL_EXTRA MAKEFLAGS_INSTALL_EXTRA_LIST MAKEFLAGS_INSTALL_LIST			\
b70ff5
	MAKEFLAGS_LOADAVG MAKEFLAGS_PARALLELISE MAKEFLAGS_VERBOSITY MAKE_INSTALL_VNAME			\
b70ff5
	MAKE_SUBDIRS MIRRORS MIRRORS_GIT NO_CLEAN NO_CLEAN_BASE_DIR NO_CLEAN_BUILD_DIR			\
b70ff5
	NO_LOG_VARS PATCHES_EXTRA PKG_CONFIG PKG_CONFIG_LIBDIR PKGLIST_DISABLE PREFIX			\
b70ff5
	PYTHON RANLIB RPM_DISABLE SHA256SUM SOFORT_NATIVE_CC SOFORT_NATIVE_CFLAGS			\
b70ff5
	SOFORT_NATIVE_CFLAGS_EXTRA SOFORT_NATIVE_CXX SOFORT_NATIVE_CXXFLAGS				\
b70ff5
	SOFORT_NATIVE_CXXFLAGS_EXTRA SOFORT_NATIVE_LD SOFORT_NATIVE_LDFLAGS				\
368822
	SOFORT_NATIVE_LDFLAGS_EXTRA SUBDIR TARGET URL URLS_GIT VARS_FILE VERSION";
Lucio Andrés Illanes Albornoz aa37e6
Lucio Andrés Illanes Albornoz 3e5303
#
Lucio Andrés Illanes Albornoz 3e5303
# Prerequisite commands
Lucio Andrés Illanes Albornoz 3e5303
DEFAULT_PREREQS="											\
Lucio Andrés Illanes Albornoz 3e5303
	awk bunzip2 bzip2 cat chmod cmake cp date find flock						\
Lucio Andrés Illanes Albornoz 3e5303
	g++ gcc git grep gunzip gzip hostname id install kill						\
Lucio Andrés Illanes Albornoz 3e5303
	ln lzip make mkdir mkfifo mktemp mv paste patch perl						\
Lucio Andrés Illanes Albornoz 3e5303
	pgrep pkill printf readlink rm sed sha256sum sort						\
Lucio Andrés Illanes Albornoz 3e5303
	stat tail tar test touch tr uniq wget xz zip";
Lucio Andrés Illanes Albornoz 3e5303
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz b9a715
# Path & variable names and URLs
Lucio Andrés Illanes Albornoz 317b61
: ${PREFIX_ROOT:="${HOME}/midipix"};
Lucio Andrés Illanes Albornoz a6970c
: ${PREFIX:="${PREFIX_ROOT}/${ARCH}/${BUILD_KIND}"};
Lucio Andrés Illanes Albornoz 317b61
: ${PREFIX_CROSS:="${PREFIX}/${DEFAULT_TARGET}"};
Lucio Andrés Illanes Albornoz 317b61
: ${PREFIX_MINGW32:="${PREFIX}/x86_64-w64-mingw32"};
Lucio Andrés Illanes Albornoz 317b61
: ${PREFIX_MINIPIX:="${PREFIX}/minipix"};
Lucio Andrés Illanes Albornoz 317b61
: ${PREFIX_NATIVE:="${PREFIX}/native"};
Lucio Andrés Illanes Albornoz 317b61
: ${PREFIX_RPM:="${PREFIX}/rpm"};
Lucio Andrés Illanes Albornoz 317b61
: ${BUILD_DLCACHEDIR:="${PREFIX_ROOT}/dlcache"};
Lucio Andrés Illanes Albornoz 317b61
: ${BUILD_WORKDIR:="${PREFIX}/tmp"};
Lucio Andrés Illanes Albornoz 8c791c
: ${DEFAULT_CHECK_PATH_VARS:="PREFIX PREFIX_NATIVE PREFIX_CROSS BUILD_DLCACHEDIR BUILD_WORKDIR"};
Lucio Andrés Illanes Albornoz 3e5303
: ${DEFAULT_CLEAR_ENV_VARS_EXCEPT:="									\
Lucio Andrés Illanes Albornoz 3e5303
	HOME PATH TERM USER										\
Lucio Andrés Illanes Albornoz 3e5303
	ARCH BUILD_KIND											\
Lucio Andrés Illanes Albornoz 3e5303
	BUILD_DLCACHEDIR BUILD_HNAME BUILD_WORKDIR							\
Lucio Andrés Illanes Albornoz 8a27f9
	PREFIX PREFIX_CROSS PREFIX_MINGW32 PREFIX_MINIPIX PREFIX_NATIVE PREFIX_ROOT PREFIX_RPM"};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_CLEAR_PREFIX_PATHS:="
Lucio Andrés Illanes Albornoz 12508d
	bin i686-nt32-midipix doc include info lib lib64 libexec man minipix minipix_dist native
Lucio Andrés Illanes Albornoz 12508d
	rpm sbin share tmp usr x86_64-nt64-midipix x86_64-w64-mingw32 pkglist.cross pkglist.host
Lucio Andrés Illanes Albornoz 12508d
	pkglist.native SHA256SUMS SHA256SUMS.last"};
Lucio Andrés Illanes Albornoz 3e5303
: ${DEFAULT_INSTALL_FILES_DESTDIR:="									\
Lucio Andrés Illanes Albornoz 3e5303
	/=bin /=include /=lib /=lib/pkgconfig /=sbin							\
Lucio Andrés Illanes Albornoz 3e5303
	/=share /=share/doc /=share/info /=share/man							\
Lucio Andrés Illanes Albornoz 3e5303
	/=share/man/man1 /=share/man/man2 /=share/man/man3 /=share/man/man4 /=share/man/man5		\
Lucio Andrés Illanes Albornoz 3e5303
	/=share/man/man6 /=share/man/man7 /=share/man/man8 /=share/man/man9				\
Lucio Andrés Illanes Albornoz 3e5303
	@share/doc=doc											\
Lucio Andrés Illanes Albornoz 3e5303
	@share/info=info										\
Lucio Andrés Illanes Albornoz 3e5303
	@lib=lib64											\
Lucio Andrés Illanes Albornoz 3e5303
	@share/man=man											\
Lucio Andrés Illanes Albornoz 3e5303
	@../lib/pkgconfig=share/pkgconfig								\
Lucio Andrés Illanes Albornoz 12508d
	@.=usr"};
Lucio Andrés Illanes Albornoz 3e5303
: ${DEFAULT_LOG_ENV_VARS:="										\
Lucio Andrés Illanes Albornoz 3e5303
	ARCH BUILD_KIND BUILD_DLCACHEDIR BUILD_WORKDIR DEFAULT_GITROOT					\
Lucio Andrés Illanes Albornoz 3e5303
	HOME PATH PREFIX PREFIX_CROSS PREFIX_MINGW32 PREFIX_MINIPIX					\
Lucio Andrés Illanes Albornoz bbb50c
	PREFIX_NATIVE PREFIX_RPM USER"};
Lucio Andrés Illanes Albornoz 3e5303
: ${DEFAULT_MIRRORS:="											\
Lucio Andrés Illanes Albornoz 3e5303
https://midipix.org/mirror/										\
0f9be6
https://midipix.luciaillanes.de/archives/								\
Lucio Andrés Illanes Albornoz 1bd15e
"};
Lucio Andrés Illanes Albornoz 3e5303
: ${DEFAULT_MIRRORS_GIT:="										\
0f9be6
https://midipix.luciaillanes.de/repos_git/								\
Lucio Andrés Illanes Albornoz 368962
"};
Lucio Andrés Illanes Albornoz 12508d
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz b9a715
# Default toolchain flags & variables
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_BUILD_CPUS:=};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_BUILD_TYPE:=native};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CFLAGS_DEBUG:="-D_REDIR_TIME64=0 -g2 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CFLAGS_DEBUG_HOST:="-D_REDIR_TIME64=0 -g0 -O2"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CFLAGS_DEBUG_RUNTIME:="-D_REDIR_TIME64=0 -g3 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CFLAGS_RELEASE:="-D_REDIR_TIME64=0 -g0 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CFLAGS_RELEASE_HOST:="-D_REDIR_TIME64=0 -g0 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CFLAGS_RELEASE_RUNTIME:="-D_REDIR_TIME64=0 -g0 -O0"};
e9fa07
rtl_get_var_unsafe \$DEFAULT_CFLAGS -u "DEFAULT_CFLAGS_${BUILD_KIND}";
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_CFLAGS_CONFIGURE:=${DEFAULT_CFLAGS}};
e9fa07
rtl_get_var_unsafe \$DEFAULT_CFLAGS_HOST -u "DEFAULT_CFLAGS_${BUILD_KIND}_HOST";
e9fa07
rtl_get_var_unsafe \$DEFAULT_CFLAGS_RUNTIME -u "DEFAULT_CFLAGS_${BUILD_KIND}_RUNTIME";
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CPPFLAGS_DEBUG:="-D_REDIR_TIME64=0 -g2 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CPPFLAGS_DEBUG_HOST:="-D_REDIR_TIME64=0 -g0 -O2"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CPPFLAGS_DEBUG_RUNTIME:="-D_REDIR_TIME64=0 -g3 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CPPFLAGS_RELEASE:="-D_REDIR_TIME64=0 -g0 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CPPFLAGS_RELEASE_HOST:="-D_REDIR_TIME64=0 -g0 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CPPFLAGS_RELEASE_RUNTIME:="-D_REDIR_TIME64=0 -g0 -O0"};
e9fa07
rtl_get_var_unsafe \$DEFAULT_CPPFLAGS -u "DEFAULT_CPPFLAGS_${BUILD_KIND}";
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_CPPFLAGS_CONFIGURE:=${DEFAULT_CPPFLAGS}};
e9fa07
rtl_get_var_unsafe \$DEFAULT_CPPFLAGS_HOST -u "DEFAULT_CPPFLAGS_${BUILD_KIND}_HOST";
e9fa07
rtl_get_var_unsafe \$DEFAULT_CPPFLAGS_RUNTIME -u "DEFAULT_CPPFLAGS_${BUILD_KIND}_RUNTIME";
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CXXFLAGS_DEBUG:="-D_REDIR_TIME64=0 -g2 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CXXFLAGS_DEBUG_HOST:="-D_REDIR_TIME64=0 -g0 -O2"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CXXFLAGS_DEBUG_RUNTIME:="-D_REDIR_TIME64=0 -g3 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CXXFLAGS_RELEASE:="-D_REDIR_TIME64=0 -g0 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CXXFLAGS_RELEASE_HOST:="-D_REDIR_TIME64=0 -g0 -O0"};
Lucio Andrés Illanes Albornoz 4392ad
: ${DEFAULT_CXXFLAGS_RELEASE_RUNTIME:="-D_REDIR_TIME64=0 -g0 -O0"};
e9fa07
rtl_get_var_unsafe \$DEFAULT_CXXFLAGS -u "DEFAULT_CXXFLAGS_${BUILD_KIND}";
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_CXXFLAGS_CONFIGURE:=${DEFAULT_CXXFLAGS}};
e9fa07
rtl_get_var_unsafe \$DEFAULT_CXXFLAGS_HOST -u "DEFAULT_CXXFLAGS_${BUILD_KIND}_HOST";
e9fa07
rtl_get_var_unsafe \$DEFAULT_CXXFLAGS_RUNTIME -u "DEFAULT_CXXFLAGS_${BUILD_KIND}_RUNTIME";
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_LDFLAGS_DEBUG:=""};
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_LDFLAGS_DEBUG_HOST:=""};
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_LDFLAGS_DEBUG_RUNTIME:=""};
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_LDFLAGS_RELEASE:=""};
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_LDFLAGS_RELEASE_HOST:=""};
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_LDFLAGS_RELEASE_RUNTIME:=""};
e9fa07
rtl_get_var_unsafe \$DEFAULT_LDFLAGS -u "DEFAULT_LDFLAGS_${BUILD_KIND}";
Lucio Andrés Illanes Albornoz e1d469
: ${DEFAULT_LDFLAGS_CONFIGURE:=${DEFAULT_LDFLAGS}};
e9fa07
rtl_get_var_unsafe \$DEFAULT_LDFLAGS_HOST -u "DEFAULT_LDFLAGS_${BUILD_KIND}_HOST";
e9fa07
rtl_get_var_unsafe \$DEFAULT_LDFLAGS_RUNTIME -u "DEFAULT_LDFLAGS_${BUILD_KIND}_RUNTIME";
Lucio Andrés Illanes Albornoz e1d469
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz b9a715
# Target-relative toolchain defaults
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_CROSS_AR:=${DEFAULT_TARGET}-ar};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_CROSS_CC:=${DEFAULT_TARGET}-gcc};
b70ff5
: ${DEFAULT_CROSS_CCLD:=${DEFAULT_TARGET}-gcc};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_CROSS_CMAKE:=cmake};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_CROSS_CXX:=${DEFAULT_TARGET}-g++};
b70ff5
: ${DEFAULT_CROSS_LD:=${DEFAULT_TARGET}-ld};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_CROSS_LIBTOOL:=slibtool};
Lucio Andrés Illanes Albornoz 7ab7cc
: ${DEFAULT_CROSS_MAKE:=make};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_CROSS_RANLIB:=${DEFAULT_TARGET}-ranlib};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_HOST_AR:=ar};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_HOST_CC:=gcc};
b70ff5
: ${DEFAULT_HOST_CCLD:=gcc};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_HOST_CMAKE:=cmake};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_HOST_CXX:=g++};
1cbe20
: ${DEFAULT_HOST_LD:=ld};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_HOST_LIBTOOL:=slibtool};
Lucio Andrés Illanes Albornoz 7ab7cc
: ${DEFAULT_HOST_MAKE:=make};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_HOST_PKG_CONFIG:=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config};
Lucio Andrés Illanes Albornoz 703f24
: ${DEFAULT_HOST_PKG_CONFIG_LIBDIR:=${PREFIX}/lib/pkgconfig};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_HOST_RANLIB:=ranlib};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_NATIVE_AR:=${DEFAULT_TARGET}-ar};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_NATIVE_CC:=${DEFAULT_TARGET}-gcc};
b70ff5
: ${DEFAULT_NATIVE_CCLD:=${DEFAULT_TARGET}-gcc};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_NATIVE_CMAKE:=cmake};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_NATIVE_CXX:=${DEFAULT_TARGET}-g++};
1cbe20
: ${DEFAULT_NATIVE_LD:=${DEFAULT_TARGET}-ld};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_NATIVE_LIBTOOL:=slibtool};
Lucio Andrés Illanes Albornoz 7ab7cc
: ${DEFAULT_NATIVE_MAKE:=make};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_NATIVE_PKG_CONFIG:=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config};
Lucio Andrés Illanes Albornoz 703f24
: ${DEFAULT_NATIVE_PKG_CONFIG_LIBDIR:=${PREFIX}/lib/pkgconfig};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_NATIVE_RANLIB:=${DEFAULT_TARGET}-ranlib};
Lucio Andrés Illanes Albornoz 12508d
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz b9a715
# Default command & tool flags & variables
01b005
: ${DEFAULT_AUTOCONF_CONFIG_GUESS:="copy"};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_CMAKE_LISTFILE:="CMakeLists.txt"};
ab21e5
: ${DEFAULT_GIT_ARGS:=""};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_GITROOT:=git://midipix.org};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_GITROOT_HEAD:=git://midipix.org};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_MAKE_INSTALL_VNAME:=DESTDIR};
b70ff5
: ${DEFAULT_MAKEFLAGS_LOADAVG:="-l${DEFAULT_BUILD_CPUS}"};
b70ff5
: ${DEFAULT_MAKEFLAGS_PARALLELISE:="-j${DEFAULT_BUILD_CPUS}"};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_MAKEFLAGS_VERBOSITY:="V=99 VERBOSE=1"};
ab21e5
: ${DEFAULT_RPM_JOBS_MAX:=1};
ab21e5
: ${DEFAULT_RPM_JOBS_SEMAPHORE:="${BUILD_WORKDIR}/rpm.jobs"};
ab21e5
: ${DEFAULT_RPM_JOBS_WAIT:=8};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_TIMESTAMP_FMT:="%Y/%m/%d %H:%M:%S"};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_WGET_ARGS:="--no-check-certificate --timeout=25 --waitretry=16"};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_ZIPDIST_DEFROOT:="/dev/fs/c/midipix"};
Lucio Andrés Illanes Albornoz b9a715
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz b9a715
# Default CMake flags & variables
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_CMAKE_ARGS:="
Lucio Andrés Illanes Albornoz b9a715
	-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY
Lucio Andrés Illanes Albornoz b9a715
	-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY
Lucio Andrés Illanes Albornoz b9a715
	-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
Lucio Andrés Illanes Albornoz b9a715
	-DCMAKE_INSTALL_PREFIX=
Lucio Andrés Illanes Albornoz b9a715
	-DCMAKE_VERBOSE_MAKEFILE=YES"};
Lucio Andrés Illanes Albornoz b9a715
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz b9a715
# Default sofort flags & variables
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_SOFORT_NATIVE_CC:="${DEFAULT_HOST_CC}"};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_SOFORT_NATIVE_CFLAGS:="-I${PREFIX}/include"};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_SOFORT_NATIVE_CXX:="${DEFAULT_HOST_CXX}"};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_SOFORT_NATIVE_CXXFLAGS:="-I${PREFIX}/include"};
b70ff5
: ${DEFAULT_SOFORT_NATIVE_LD:="${DEFAULT_HOST_CCLD}"};
Lucio Andrés Illanes Albornoz b9a715
: ${DEFAULT_SOFORT_NATIVE_LDFLAGS:="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"};
Lucio Andrés Illanes Albornoz b9a715
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz 12508d
# Build {log,status} & tarball names
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_BUILD_LAST_FAILED_PKG_FNAME:=${BUILD_WORKDIR}/last_failed_pkg};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_BUILD_LOG_FNAME:=${PREFIX}/build.log};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_BUILD_LOG_LAST_FNAME:=${PREFIX}/build.log.last};
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME:=${PREFIX}/BUILD_IN_PROGRESS};
Lucio Andrés Illanes Albornoz a6970c
: ${DEFAULT_ZIPDIST_FNAME_PREFIX:=midipix-${ARCH}-${BUILD_KIND}.};
Lucio Andrés Illanes Albornoz 12508d
Lucio Andrés Illanes Albornoz b9a715
#
Lucio Andrés Illanes Albornoz 12508d
# GNU autotools cache
Lucio Andrés Illanes Albornoz 12508d
: ${DEFAULT_CONFIG_CACHE:="
Lucio Andrés Illanes Albornoz 12508d
ac_cv_buggy_getaddrinfo=no
Lucio Andrés Illanes Albornoz 12508d
ac_cv_file__dev_ptc=no
Lucio Andrés Illanes Albornoz 12508d
ac_cv_file__dev_ptmx=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_calloc_0_nonnull=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_chown_works=yes
64f564
ac_cv_func_fork_works=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_getgroups_works=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_malloc_0_nonnull=yes
Lucio Andrés Illanes Albornoz bf9edf
ac_cv_func_memcmp_working=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_mmap_fixed_mapped=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_realloc_0_nonnull=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_strcoll_works=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_strnlen_working=yes
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func_working_mktime=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_gettimeofday_clobber=no
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_tzset_clobber=no
Lucio Andrés Illanes Albornoz 12508d
gt_cv_int_divbyzero_sigfpe=yes
Lucio Andrés Illanes Albornoz 12508d
libffi_cv_hidden_visibility_attribute=yes
Lucio Andrés Illanes Albornoz 12508d
xorg_cv_malloc0_returns_null=yes"};
Lucio Andrés Illanes Albornoz 12508d
Lucio Andrés Illanes Albornoz 12508d
: ${CONFIG_CACHE_GNULIB:="
321119
gl_cv_double_slash_root=no
Lucio Andrés Illanes Albornoz 12508d
ac_cv_func___fseterr=yes
64f564
am_cv_func_working_getline=yes
Lucio Andrés Illanes Albornoz bf9edf
gl_cv_C_locale_sans_EILSEQ=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_cbrtl_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_ceilf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_ceil_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_ceill_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_chown_ctime_works=yes
Lucio Andrés Illanes Albornoz bf9edf
gl_cv_func_chown_follows_symlink=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_chown_slash_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_exp2l_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_expm1_ieee=yes
321119
gl_cv_func_fclose_stdin=yes
ceeeb4
gl_cv_func_fchmodat_works=yes
321119
gl_cv_func_fchownat_empty_filename_works=yes
Lucio Andrés Illanes Albornoz bf9edf
gl_cv_func_fchownat_nofollow_works=yes
ee38fd
gl_cv_func_fcntl_f_dupfd_cloexec=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fcntl_f_dupfd_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fdopendir_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fflush_stdin=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_floorf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fmaf_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fmal_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fma_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fmodf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fmod_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fmodl_ieee=yes
ee38fd
gl_cv_func_fopen_mode_e=yes
ee38fd
gl_cv_func_fopen_mode_x=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fpurge_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_fseeko=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_futimens_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_futimesat_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_getcwd_null=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_getgroups_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_gettimeofday_clobber=no
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_hypotf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_hypot_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_hypotl_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_isfinitel_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_isnanl_works=yes
321119
gl_cv_func_iswcntrl_works=yes
Lucio Andrés Illanes Albornoz bf9edf
gl_cv_func_linkat_nofollow=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_linkat_slash=yes
Lucio Andrés Illanes Albornoz bf9edf
gl_cv_func_link_follows_symlink=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_link_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_log10f_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_log10_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_log1pf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_log1p_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_log1pl_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_log2f_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_log2_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_logf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_log_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_lstat_dereferences_slashed_symlink=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_mbrlen_empty_input=yes
321119
gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_mbrtowc_empty_input=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_memchr_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_memmem_works_fast=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_mkdir_trailing_dot_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_mkdir_trailing_slash_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_mkfifo_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_mknod_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_modff_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_modf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_modfl_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_nanosleep=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_open_directory_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_perror_works=yes
321119
gl_cv_func_posix_memalign_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_printf_directive_a=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_printf_directive_f=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_printf_directive_n=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_printf_enomem=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_printf_flag_zero=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_printf_infinite_long_double=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_printf_infinite=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_printf_sizes_c99=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_pselect_detects_ebadf=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_ptsname_sets_errno=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_readlink_works=yes
321119
gl_cv_func_readlink_trailing_slash=yes
321119
gl_cv_func_readlink_truncate=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_realpath_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_remainderf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_remainder_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_remainderl_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_rename_dest_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_rename_link_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_rename_slash_dst_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_rename_slash_src_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_rmdir_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_roundf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_round_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_select_detects_ebadf=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_setenv_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_signbit_gcc=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_signbit=yes
9070f9
gl_cv_func_signbit_builtins=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_sleep_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_snprintf_directive_n=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_snprintf_retval_c99=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_snprintf_truncation_c99=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_stat_dir_slash=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_stat_file_slash=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_stpncpy=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_strcasestr_linear=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_strchrnul_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_strerror_0_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_strstr_linear=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_strtod_works=yes
321119
gl_cv_func_strtold_works=yes
64f564
gl_cv_func_strtoll_works=yes
64f564
gl_cv_func_strtoull_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_svid_putenv=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_symlink_works=yes
321119
gl_cv_func_symlinkat_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_tdelete_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_truncf_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_trunc_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_truncl_ieee=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_tzset_clobber=no
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_ungetc_works=yes
64f564
gl_cv_func_unlink_busy_text=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_unlink_honors_slashes=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_unsetenv_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_usleep_works=yes
321119
gl_cv_func_utime_file_slash=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_utimensat_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_vsnprintf_posix=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_vsnprintf_zerosize_c99=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_vsprintf_posix=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_wcwidth_works=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_working_getdelim=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_working_mkstemp=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_working_mktime=yes
Lucio Andrés Illanes Albornoz 12508d
gl_cv_func_working_strerror=yes
c24323
gl_cv_struct_dirent_d_ino=yes
321119
gl_cv_func_getopt_gnu=yes
321119
gl_cv_pthread_rwlock_rdlock_prefer_writer=no"};
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
# vim:filetype=sh textwidth=0