summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
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