38 |
|
|
39 |
# Arch specific options and build flags |
# Arch specific options and build flags |
40 |
ARCH="@@ARCH@@" |
ARCH="@@ARCH@@" |
41 |
CHOST="${ARCH}-pc-linux-gnu" |
CHOST="@@ARCH@@-pc-linux-gnu" |
42 |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
CFLAGS="-mtune=@@MTUNE@@ -O2 -pipe" |
43 |
CXXFLAGS="${CFLAGS}" |
CXXFLAGS="${CFLAGS}" |
44 |
LDFLAGS="-Wl,--as-needed" |
LDFLAGS="-Wl,--as-needed" |
45 |
MAKEOPTS="-j2" |
MAKEOPTS="-j2" |
55 |
STRIP_STATIC_LIB="--strip-debug" |
STRIP_STATIC_LIB="--strip-debug" |
56 |
|
|
57 |
# Extension defaults |
# Extension defaults |
58 |
# Do not modify these settings unless you know what you are doing |
# Do not modify these settings unless you know what you are doing |
59 |
PKGSUFFIX="mpk" |
PKGSUFFIX="mpk" |
60 |
SRCPKGSUFFIX="mpks" |
SRCPKGSUFFIX="mpks" |
61 |
MAGESUFFIX="mage" |
MAGESUFFIX="mage" |
86 |
RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
87 |
# Default fetch options for wget |
# Default fetch options for wget |
88 |
WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" |
WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" |
89 |
|
# Default update method for the package database - 'rsync' or 'tarball' method can be selected |
90 |
|
MAGE_UPDATE_METHOD="tarball" |
91 |
|
|
92 |
# All supported global features in mage/smage: |
# All supported global features in mage/smage: |
93 |
# You can negate any feature with a ! in front |
# You can negate any feature with a ! in front |
118 |
# * Enable distcc support in smage |
# * Enable distcc support in smage |
119 |
# * distcc must be installed to use this feature |
# * distcc must be installed to use this feature |
120 |
# * For developers only |
# * For developers only |
121 |
|
# icecc|!icecc |
122 |
|
# * Enable icecc support in smage |
123 |
|
# * icecream must be installed to use this feature |
124 |
|
# * For developers only |
125 |
# kernelsrcunpack|!kernelsrcunpack |
# kernelsrcunpack|!kernelsrcunpack |
126 |
# * Automatically unpacks any kernel-sources tarballs to /usr/src |
# * Automatically unpacks any kernel-source tarballs to /usr/src |
127 |
# libtool|!libtool |
# libtool|!libtool |
128 |
# * Includes .la libtool archives in builded packages, to remove them set !libtool |
# * Includes .la libtool archives in builded packages, to remove them set !libtool |
129 |
# * For developers only |
# * For developers only |
132 |
# * Requires the kernelsrcunpack feature to be activated |
# * Requires the kernelsrcunpack feature to be activated |
133 |
# pkgbuild|!pkgbuild |
# pkgbuild|!pkgbuild |
134 |
# * Enables or disables the package build process |
# * Enables or disables the package build process |
135 |
# * !buildpkg feature is only intended to be used for special-cases, |
# * !pkgbuild feature is only intended to be used for special-cases, |
136 |
# * like virtuals and not to be a global feature. Use this with care. |
# * like virtuals and not to be a global feature. Use this with care. |
137 |
# * Only disable this feature, if you know what you are doing! |
# * Only disable this feature, if you know what you are doing! |
138 |
# * For developers only |
# * For developers only |
179 |
# |
# |
180 |
# To individually change these features within a smage file, you can use the msetfeature() function |
# To individually change these features within a smage file, you can use the msetfeature() function |
181 |
# |
# |
182 |
MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "!pkgdistrotag" "purge" "!qalint" "regentree" "!resume" "!srcpkgbuild" "!srcpkgtarball" "!static" "!stepbystep" "strip" "!verbose" ) |
MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "!icecc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "!pkgdistrotag" "purge" "!qalint" "regentree" "!resume" "!srcpkgbuild" "!srcpkgtarball" "!static" "!stepbystep" "strip" "!verbose" ) |