summaryrefslogtreecommitdiffhomepage
path: root/100.perk.build
diff options
context:
space:
mode:
Diffstat (limited to '100.perk.build')
-rw-r--r--100.perk.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/100.perk.build b/100.perk.build
index cded5a9a..b7ad3583 100644
--- a/100.perk.build
+++ b/100.perk.build
@@ -9,11 +9,11 @@ if ! is_build_script_done fetch; then
fi;
set_build_dir ${2} native;
if ! is_build_script_done configure1; then
- rm_if_exists -m -c ${BUILD_DIR};
+ rm_if_exists -m -c ${PKG_BUILD_DIR};
../perk/configure;
set_build_script_done configure1 clean1 -build1;
else
- cd ${BUILD_DIR};
+ cd ${PKG_BUILD_DIR};
fi;
if ! is_build_script_done clean1; then
make ${MAKEFLAGS} clean;
@@ -29,11 +29,11 @@ if ! is_build_script_done install1; then
fi;
set_build_dir ${2} cross;
if ! is_build_script_done configure2; then
- rm_if_exists -m -c ../${BUILD_DIR};
+ rm_if_exists -m -c ../${PKG_BUILD_DIR};
../perk/configure --target=${TARGET};
set_build_script_done configure2 clean2 -build2;
else
- cd ../${BUILD_DIR};
+ cd ../${PKG_BUILD_DIR};
fi;
if ! is_build_script_done clean2; then
make ${MAKEFLAGS} clean;