From bbbbdb9bd3ffd1de751b78a71cba929020b234a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 20 Jan 2017 17:52:34 +0100 Subject: build.sh: fetch ${GITROOT}/ports/chainport during `init' target and apply patches found within. build/pkg.build, etc/build.usage, vars/{build,chainport}.vars: adds newly introduced `init' target. patches/{binutils,gmp,lib{elf,ffi}}-*.patch: moved to chainport repository. --- vars/build.vars | 16 ++++++++++++---- vars/chainport.vars | 13 +++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 vars/chainport.vars (limited to 'vars') diff --git a/vars/build.vars b/vars/build.vars index afb751ec..87b08ae4 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -57,7 +57,7 @@ fi; : ${LOG_MSG_INFO_COLOUR:=93}; : ${LOG_MSG_SUCC_COLOUR:=92}; : ${LOG_MSG_WARN_COLOUR:=96}; -: ${PKG_BUILD_VARS:="BUILD_CMDLINE BUILD_DIR BUILD_TYPE CFLAGS_BUILD_EXTRA CFLAGS_CONFIGURE CFLAGS_CONFIGURE_EXTRA CFLAGS_INSTALL_EXTRA CONFIG_CACHE_EXTRA CONFIGURE CONFIGURE_ARGS CONFIGURE_ARGS_EXTRA DISABLED ENV_VARS_EXTRA FNAME GIT_BRANCH INSTALL_FILES INSTALL_TARGET INSTALL_TARGET_EXTRA LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE LDFLAGS_CONFIGURE_EXTRA LDFLAGS_INSTALL_EXTRA MAKEFLAGS_BUILD MAKEFLAGS_BUILD_EXTRA MAKEFLAGS_INSTALL MAKEFLAGS_INSTALL_EXTRA NO_CLEAN NO_MAKE_INSTALL PREFIX_EXTRA SHA256SUM SLIBTOOL SUBDIR SUBDIR_CREATE URL URL_FNAME URL_TYPE VERSION"}; +: ${PKG_BUILD_VARS:="BUILD_CMDLINE BUILD_DIR BUILD_TYPE CFLAGS_BUILD_EXTRA CFLAGS_CONFIGURE CFLAGS_CONFIGURE_EXTRA CFLAGS_INSTALL_EXTRA CONFIG_CACHE_EXTRA CONFIGURE CONFIGURE_ARGS CONFIGURE_ARGS_EXTRA DISABLED ENV_VARS_EXTRA FNAME GIT_BRANCH INSTALL_FILES INSTALL_TARGET INSTALL_TARGET_EXTRA LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE LDFLAGS_CONFIGURE_EXTRA LDFLAGS_INSTALL_EXTRA MAKEFLAGS_BUILD MAKEFLAGS_BUILD_EXTRA MAKEFLAGS_INSTALL MAKEFLAGS_INSTALL_EXTRA NO_CLEAN NO_MAKE_BUILD NO_MAKE_INSTALL PREFIX_EXTRA SHA256SUM SLIBTOOL SUBDIR SUBDIR_CREATE URL URL_FNAME URL_TYPE VERSION"}; : ${TARBALL_FNAME_PREFIX:=midipix-${ARCH}-${BUILD}.}; : ${TARBALL_SIGN_GPG_KEY:=}; : ${TARBALL_CROSS_FNAME_PREFIX:=midipix-${ARCH}-${BUILD}_cross.}; @@ -73,6 +73,14 @@ fi; : ${WGET_ARGS:="--no-check-certificate"}; export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; +# +# Build target init +# +INIT_PACKAGES="chainport"; +: ${PKG_CHAINPORT_URL:=${GITROOT}/ports/chainport}; +: ${PKG_CHAINPORT_URL_TYPE:=git}; +: ${PKG_CHAINPORT_BUILD_DIR:=chainport}; + # # Build target host_toolchain # @@ -711,8 +719,8 @@ LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}"; # # Build meta-targets # -DEVROOT_PACKAGES="host_toolchain native_toolchain runtime"; -WORLD_PACKAGES="host_toolchain native_toolchain runtime lib_packages leaf_packages"; -ALL_TARGETS="host_toolchain native_toolchain runtime lib_packages leaf_packages devroot world"; +DEVROOT_PACKAGES="init host_toolchain native_toolchain runtime"; +WORLD_PACKAGES="init host_toolchain native_toolchain runtime lib_packages leaf_packages"; +ALL_TARGETS="init host_toolchain native_toolchain runtime lib_packages leaf_packages devroot world"; # vim:filetype=sh textwidth=0 diff --git a/vars/chainport.vars b/vars/chainport.vars new file mode 100644 index 00000000..b1c0a1be --- /dev/null +++ b/vars/chainport.vars @@ -0,0 +1,13 @@ +# +# . ./build.vars and set -o errexit -o noglob are assumed. +# + +pkg_chainport_build() { + :; +}; + +pkg_chainport_install() { + :; +}; + +# vim:filetype=sh -- cgit v1.2.3