summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-01-09 03:43:45 +0000
committerRicardo Cerqueira <ricardo@cyngn.com>2015-01-09 05:15:01 +0000
commit1d0d45d9ba79115af8368aeefcc3fc1018ecaff9 (patch)
tree88a27e98daa0e920fecffecdae326272c39d5baf
parenta8f7a4f4de1ce48ec629e4d63aa5e8c34da2c87f (diff)
downloadandroid_hardware_qcom_bt-stable/cm-12.0-YNG1I.tar.gz
android_hardware_qcom_bt-stable/cm-12.0-YNG1I.tar.bz2
android_hardware_qcom_bt-stable/cm-12.0-YNG1I.zip
Set up the intermediates path to generate the buildcfg header at the right location Change-Id: Ifd65a27134100ec40332bcc3b15d1950e3f43a7b
-rw-r--r--libbt-vendor/vnd_buildcfg.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbt-vendor/vnd_buildcfg.mk b/libbt-vendor/vnd_buildcfg.mk
index d18e121..d9e7a34 100644
--- a/libbt-vendor/vnd_buildcfg.mk
+++ b/libbt-vendor/vnd_buildcfg.mk
@@ -14,7 +14,11 @@
# limitations under the License.
#
+ifneq ($(TARGET_2ND_ARCH),)
+intermediates := $(call local-intermediates-dir,,$(TARGET_2ND_ARCH_VAR_PREFIX))
+else
intermediates := $(local-intermediates-dir)
+endif
SRC := $(call my-dir)/include/$(addprefix vnd_, $(addsuffix .txt,$(basename $(TARGET_DEVICE))))
ifeq (,$(wildcard $(SRC)))