Two new options for the configuration file were added: * XBPS_CROSS_TARGET * XBPS_CROSS_DIR XBPS_CROSS_TARGET should be set to the target triplet that you build with the mktoolchain script. XBPS_CROSS_DIR should point to the cross directory that mktoolchain created if you've built one. As proof of concept the glibc32 package has been added for x86_64, and it works perfectly even in the chroot! with glibc32 in place that means that I can build a gcc multilib and use -m32 to build 32bit packages! OH YEAH I LOVE THAT SHIT!!!! --HG-- extra : convert_revision : 6b0008865e084674a1c4b58266f681871e519c66
48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
#
|
|
# Configuration file for xbps (xtraeme's build package system).
|
|
#
|
|
|
|
# Global directory where the xbps distribution files are stored.
|
|
# Templates, patches, helpers and dependency files should all be
|
|
# in that directory.
|
|
#
|
|
XBPS_DISTRIBUTIONDIR=$HOME/xbps
|
|
|
|
#
|
|
# Master directory: this is where all symlinks will be
|
|
# created pointing at packages installed in XBPS_DESTDIR.
|
|
#
|
|
XBPS_MASTERDIR=$XBPS_DISTRIBUTIONDIR/depot
|
|
|
|
#
|
|
# Destination directory: this is where all packages will be installed.
|
|
#
|
|
XBPS_DESTDIR=$XBPS_DISTRIBUTIONDIR/packages
|
|
|
|
#
|
|
# Directory where source files will be extracted to.
|
|
#
|
|
XBPS_BUILDDIR=$XBPS_DISTRIBUTIONDIR/builddir
|
|
|
|
#
|
|
# Directory where source distribution files are stored.
|
|
#
|
|
XBPS_SRCDISTDIR=$XBPS_DISTRIBUTIONDIR/srcdistdir
|
|
|
|
#
|
|
# Compilation flags for cc and c++.
|
|
#
|
|
XBPS_CFLAGS="-O2 -pipe"
|
|
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
|
|
|
#
|
|
# Number of jobs when running GNU or BSD make style packages.
|
|
#
|
|
#XBPS_MAKEJOBS=4
|
|
|
|
#
|
|
# Cross compilation stuff.
|
|
#
|
|
#XBPS_CROSS_TARGET=i686-pc-linux-gnu
|
|
#XBPS_CROSS_DIR=/storage/mktoolchain/$XBPS_CROSS_TARGET
|