summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-01-09 03:43:45 +0000
committerSteve Kondik <steve@cyngn.com>2015-03-15 00:30:22 -0700
commit4e51c71101777f03fee8c437b9048878d9cf7524 (patch)
treedee64530114da0da4c052d125dd86e58092a912b
parent0f11c1daf678fbfd5766f40d407c3bef4f166d5e (diff)
downloadandroid_hardware_qcom_bt-4e51c71101777f03fee8c437b9048878d9cf7524.tar.gz
android_hardware_qcom_bt-4e51c71101777f03fee8c437b9048878d9cf7524.tar.bz2
android_hardware_qcom_bt-4e51c71101777f03fee8c437b9048878d9cf7524.zip
Fix up building with TARGET_2ND_ARCHstaging/cm-12.1
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)))