summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2013-02-21 20:06:01 -0600
committerVishal Mahaveer2013-02-25 14:56:58 -0600
commit31cd90c02744d5b4d566de7726207c65bc9f6245 (patch)
tree7fee5705b2fe064bbbf0e6fa476f97021a7b8099
parent1b655302e11fd69cb1b80a678db596fbeb60e7b9 (diff)
downloaddevice-ti-proprietary-open-31cd90c02744d5b4d566de7726207c65bc9f6245.tar.gz
device-ti-proprietary-open-31cd90c02744d5b4d566de7726207c65bc9f6245.tar.xz
device-ti-proprietary-open-31cd90c02744d5b4d566de7726207c65bc9f6245.zip
ducati: update make file to be generic
Update ducati make files to be generic for different file names. Change-Id: I375e359bdcb1da3e40d5723f81c07c5f08064f3a Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--Android.mk4
-rw-r--r--omap4/ducati-blaze_tablet.mk1
-rw-r--r--omap4/ducati-full_blaze.mk1
3 files changed, 4 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index c17647d..4d1cd36 100644
--- a/Android.mk
+++ b/Android.mk
@@ -26,14 +26,14 @@ $(ti-ducati.untarred_timestamp) : $(DUCATI_TGZ)
26 $(hide) touch $@ 26 $(hide) touch $@
27 27
28include $(CLEAR_VARS) 28include $(CLEAR_VARS)
29LOCAL_MODULE := ducati-m3.bin 29LOCAL_MODULE := $(DUCATI_BINARY)
30LOCAL_MODULE_CLASS := FAKE 30LOCAL_MODULE_CLASS := FAKE
31LOCAL_MODULE_TAGS := optional 31LOCAL_MODULE_TAGS := optional
32LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware 32LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
33 33
34include $(BUILD_SYSTEM)/base_rules.mk 34include $(BUILD_SYSTEM)/base_rules.mk
35 35
36$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(ti-ducati.untarred_intermediates)/ducati-m3.bin 36$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(ti-ducati.untarred_intermediates)/$(DUCATI_BINARY)
37$(LOCAL_BUILT_MODULE) : $(ti-ducati.untarred_timestamp) | $(ACP) 37$(LOCAL_BUILT_MODULE) : $(ti-ducati.untarred_timestamp) | $(ACP)
38 @echo "Copy $@ <- $(PRIVATE_SRC)" 38 @echo "Copy $@ <- $(PRIVATE_SRC)"
39 @mkdir -p $(dir $@) 39 @mkdir -p $(dir $@)
diff --git a/omap4/ducati-blaze_tablet.mk b/omap4/ducati-blaze_tablet.mk
index 9fae74f..c0c830d 100644
--- a/omap4/ducati-blaze_tablet.mk
+++ b/omap4/ducati-blaze_tablet.mk
@@ -19,5 +19,6 @@
19 19
20ifeq (blaze_tablet,$(TARGET_PRODUCT)) 20ifeq (blaze_tablet,$(TARGET_PRODUCT))
21DUCATI_TGZ := device/ti/proprietary-open/omap4/ducati_blaze_tablet.tgz 21DUCATI_TGZ := device/ti/proprietary-open/omap4/ducati_blaze_tablet.tgz
22DUCATI_BINARY := ducati-m3.bin
22PRODUCT_PACKAGES += ducati-m3.bin 23PRODUCT_PACKAGES += ducati-m3.bin
23endif 24endif
diff --git a/omap4/ducati-full_blaze.mk b/omap4/ducati-full_blaze.mk
index 766f98b..58ff827 100644
--- a/omap4/ducati-full_blaze.mk
+++ b/omap4/ducati-full_blaze.mk
@@ -19,5 +19,6 @@
19 19
20ifeq (full_blaze,$(TARGET_PRODUCT)) 20ifeq (full_blaze,$(TARGET_PRODUCT))
21DUCATI_TGZ := device/ti/proprietary-open/omap4/ducati_full_blaze.tgz 21DUCATI_TGZ := device/ti/proprietary-open/omap4/ducati_full_blaze.tgz
22DUCATI_BINARY := ducati-m3.bin
22PRODUCT_PACKAGES += ducati-m3.bin 23PRODUCT_PACKAGES += ducati-m3.bin
23endif 24endif