summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/buildsystem.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh
index 65af7df..46f8408 100644
--- a/lib/buildsystem.sh
+++ b/lib/buildsystem.sh
@@ -33,6 +33,9 @@ oh_buildsystems_init()
for _ohbsi_bs in ${_OH_BUILDSYSTEMS}; do
oh_use "buildsystem/${_ohbsi_bs}"
done
+
+ _OH_BUILDSYSTEM_WORK_AREA="${PWD}"
+ _OH_BUILDSYSTEM_SOURCE_DIR="$(cd src && pwd)"
}
oh_set_buildsystem_option()