]>
git.argeo.org Git - gpl/argeo-slc.git/blob - configure
3 # We build where we are
4 SDK_BUILD_BASE
=$
(pwd -P)/output
6 # Source are located where this script is
7 SDK_SRC_BASE
="$(cd "$
(dirname "$0")"; pwd -P)"
9 SDK_MK
=$SDK_SRC_BASE/sdk.mk
11 #echo SDK_BUILD_BASE=$SDK_BUILD_BASE
12 #echo SDK_SRC_BASE=$SDK_SRC_BASE
18 echo "File $SDK_MK already exists. Remove it in order to configure a new build location:"
24 # Create build directory, so that it can be used right away
25 # and we check whether we have the rights
26 mkdir
-p $SDK_BUILD_BASE
29 echo "Cannot create $SDK_BUILD_BASE, SDK configuration has failed."
35 SDK_SRC_BASE := $SDK_SRC_BASE
36 SDK_BUILD_BASE := $SDK_BUILD_BASE
38 include \$(SDK_SRC_BASE)/branch.properties
39 include \$(SDK_SRC_BASE)/sdk/includes.mk
43 echo SDK was configured.
44 echo "Base for sources : $SDK_SRC_BASE"
45 echo "Base for builds : $SDK_BUILD_BASE"