|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
# . ./build.vars and set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
# See warning at the top of build.vars.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
pkg_build_dir() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
if [ -z "${PKG_BUILD_DIR}" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
set_build_dir ${PKG_SUBDIR} ${PKG_BUILD_TYPE:-native};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
[ "${PKG_SUBDIR}" != "${PKG_BUILD_DIR}" ] &&\
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
secure_rm ${PKG_BUILD_DIR};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
insecure_mkdir ${PKG_BUILD_DIR};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
set_build_script_done build_dir -patch_pre;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
# vim:filetype=sh
|