From d5805ace5fc8b0ac3b6d3933ff94e2e06905c886 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 22 Oct 2012 02:21:03 -0400 Subject: Add "destdir" build system option. --- diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh index ef668f7..b45d3d5 100644 --- a/lib/buildsystem.sh +++ b/lib/buildsystem.sh @@ -37,6 +37,8 @@ oh_buildsystems_init() [ -z "${_OH_BUILDSYSTEM_BUILD_DIR}" ] && \ _OH_BUILDSYSTEM_BUILD_DIR="${PWD}/src" + [ -z "${_OH_BUILDSYSTEM_DESTDIR}" ] && \ + _OH_BUILDSYSTEM_DESTDIR="${PWD}/dest" [ -z "${_OH_BUILDSYSTEM_SYSTEM}" ] && \ _OH_BUILDSYSTEM_SYSTEM='' } @@ -57,6 +59,9 @@ oh_set_buildsystem_option() 'build-dir') _OH_BUILDSYSTEM_BUILD_DIR="${_ohsbso_value}" ;; + 'destdir') + _OH_BUILDSYSTEM_DESTDIR="${_ohsbso_value}" + ;; 'build-system') _OH_BUILDSYSTEM_SYSTEM="${_ohsbso_value}" ;; -- cgit v0.9.1