summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-20 17:52:34 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-20 17:55:09 +0100
commitbbbbdb9bd3ffd1de751b78a71cba929020b234a4 (patch)
tree5b11329427923075ebd261291acf6795051a3520 /vars
parent231456623ea62bd7b836de44336d9e7b5cf88880 (diff)
downloadmidipix_build-bbbbdb9bd3ffd1de751b78a71cba929020b234a4.tar.bz2
midipix_build-bbbbdb9bd3ffd1de751b78a71cba929020b234a4.tar.xz
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.
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars16
-rw-r--r--vars/chainport.vars13
2 files changed, 25 insertions, 4 deletions
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.};
@@ -74,6 +74,14 @@ fi;
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
#
HOST_TOOLCHAIN_BUILD_TYPE="host";
@@ -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