summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorPhilippe Afonso <philippex.afonso@intel.com>2015-01-29 16:22:36 +0100
committerPhilippe Afonso <philippex.afonso@intel.com>2015-02-18 11:33:08 +0100
commit9622b059c7e819d9b69c5266252c6adae1b634bc (patch)
tree7cbcf6c16439b4e195cab7dab81ec54c5ca9c84c /bindings
parenta1fdb2965956d3cbc62e6f8b29405bdeef79dca3 (diff)
downloadexternal_parameter-framework-9622b059c7e819d9b69c5266252c6adae1b634bc.zip
external_parameter-framework-9622b059c7e819d9b69c5266252c6adae1b634bc.tar.gz
external_parameter-framework-9622b059c7e819d9b69c5266252c6adae1b634bc.tar.bz2
Create output host library directory if needed
The directory where to generate output may not exists leading generation to failure. This patch adds the directory creation and thus makes sure generation won't fail for this reason. Change-Id: I1cee75d6d7921315dc3a928245499bde447c3639 Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-19676 Signed-off-by: Sebastien Gonzalve <sebastien.gonzalve@intel.com>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/python/Android.mk b/bindings/python/Android.mk
index 296d4bc..0558344 100644
--- a/bindings/python/Android.mk
+++ b/bindings/python/Android.mk
@@ -76,6 +76,7 @@ $(generated-sources-dir)/pfw_wrap.h: $(generated-sources-dir)/pfw_wrap.cxx
$(generated-sources-dir)/pfw_wrap.cxx: $(LOCAL_PATH)/pfw.i
@echo "Generating Python binding files"
mkdir -p $(dir $@) # surprisingly, path is not generated by build system
+ mkdir -p $(HOST_LIBRARY_PATH)
prebuilts/misc/linux-x86_64/swig/swig \
-Iprebuilts/misc/common/swig/include/2.0.11/python/ \
-Iprebuilts/misc/common/swig/include/2.0.11/ \