summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames W. Mills <jameswmills@ti.com>2012-08-27 14:04:01 -0500
committerJack Yen <jyen@ti.com>2012-08-27 14:26:59 -0500
commite4fcd5307140f86b919f55f8b608ad0bf38e3217 (patch)
tree46a96d2e12cc70ab42403e3dd61dc61e5f4d1e1a
parent689d34c48f0783e497f5e8e06eddbe11e8c593e6 (diff)
downloadhardware_ti_omap4-e4fcd5307140f86b919f55f8b608ad0bf38e3217.zip
hardware_ti_omap4-e4fcd5307140f86b919f55f8b608ad0bf38e3217.tar.gz
hardware_ti_omap4-e4fcd5307140f86b919f55f8b608ad0bf38e3217.tar.bz2
Prevent needless re-copying of files into the filesystem
Removed a manual call to "cp" that was touching the libbltsville ticpu lib every time make was run, requiring new system images to be regenerated. Change-Id: I452595402e30e47b930cdc35401a6f98c3b37368 Signed-off-by: James W. Mills <jameswmills@ti.com> Signed-off-by: Jack Yen <jyen@ti.com>
-rwxr-xr-xticpu/Android.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/ticpu/Android.mk b/ticpu/Android.mk
index 59f9b57..adebb2e 100755
--- a/ticpu/Android.mk
+++ b/ticpu/Android.mk
@@ -15,9 +15,8 @@
#
LOCAL_PATH := $(call my-dir)
-$(shell cp -afr $(LOCAL_PATH)/lib/android/* $(TARGET_OUT)/vendor/lib)
-#Copying libbltsville_ticpu.VERSION.so
+#Copying libbltsville_ticpu.BV_CPUVERSION.so
include $(CLEAR_VARS)
BV_CPUVERSION :=$(shell ls external/bltsville/ticpu/lib/android/libbltsville_*.*.so|\
sed 's/external\/bltsville\/ticpu\/lib\/android\/libbltsville_ticpu.//')
@@ -29,7 +28,7 @@ LOCAL_MODULE_PATH:= $(TARGET_OUT_VENDOR)/lib
include $(BUILD_PREBUILT)
#Creating SymLinks
-#libbltsville_ticpu.so -> libbltsville_ticpu.VERSION.so
+#libbltsville_ticpu.so -> libbltsville_ticpu.BV_CPUVERSION.so
#libbltsville_cpu.so -> libbltsville_ticpu.so
SYMLINKS := $(TARGET_OUT_VENDOR)/lib/libbltsville_ticpu.so
$(SYMLINKS): TICPU_BINARY := ./libbltsville_ticpu.$(BV_CPUVERSION)
@@ -49,3 +48,6 @@ $(SYMLINKS1): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk
@rm -rf $@
$(hide) ln -fs $(LINK_BINARY) $@
ALL_DEFAULT_INSTALLED_MODULES += $(SYMLINKS1)
+
+# for mm
+all_modules: $(SYMLINKS) $(SYMLINKS1)