summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbrissen <sbrissen@hotmail.com>2014-01-10 12:12:14 -0500
committersbrissen <sbrissen@hotmail.com>2014-01-10 12:13:16 -0500
commit832bd42006ab187af118ccc1cb3e99187646b7ef (patch)
treef754af355b3ce0acccd2cbf6a06e5ef6ca1b417e
parent3c95445d99534447bb763be4adf6d34a86bf0c6e (diff)
downloaddevice_samsung_smdk4412-common-832bd42006ab187af118ccc1cb3e99187646b7ef.zip
device_samsung_smdk4412-common-832bd42006ab187af118ccc1cb3e99187646b7ef.tar.gz
device_samsung_smdk4412-common-832bd42006ab187af118ccc1cb3e99187646b7ef.tar.bz2
smdk4412-common: Don't build torch for devices without flash
For devices without a flash set TARGET_HAS_CAM_FLASH := false Change-Id: I8fb1648f443abadd8677fd6780ba95a40c613cf0
-rw-r--r--common.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index c71abb5..a8d8072 100644
--- a/common.mk
+++ b/common.mk
@@ -75,8 +75,12 @@ PRODUCT_PACKAGES := \
libsync \
lights.exynos4 \
macloader \
- tinymix \
- Torch
+ tinymix
+
+ifneq ($(TARGET_HAS_CAM_FLASH) ,false)
+PRODUCT_PACKAGES += \
+ Torch
+endif
# MFC API
PRODUCT_PACKAGES += \