diff options
author | Jack Yen <jyen@ti.com> | 2012-08-13 15:14:01 -0500 |
---|---|---|
committer | Craig Stout <craig.stout@ti.com> | 2012-08-23 11:49:40 -0700 |
commit | 74c62c1088ebcbe940b5d572e9281d219632ea87 (patch) | |
tree | 7cb5010dcd8af6eed2126c783b43d53025da9a8b | |
parent | 521f41023b2450808af932dc5068bff0838642b9 (diff) | |
download | hardware_ti_omap4-74c62c1088ebcbe940b5d572e9281d219632ea87.zip hardware_ti_omap4-74c62c1088ebcbe940b5d572e9281d219632ea87.tar.gz hardware_ti_omap4-74c62c1088ebcbe940b5d572e9281d219632ea87.tar.bz2 |
Remove symbolic link warnings on a clean build
Change-Id: Ife68d2a70dec9039f73d59e3407fb398e735a5f0
Signed-off-by: Jack Yen <jyen@ti.com>
-rw-r--r-- | gcbv/Android.mk | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/gcbv/Android.mk b/gcbv/Android.mk index 706ea27..e87b4e4 100644 --- a/gcbv/Android.mk +++ b/gcbv/Android.mk @@ -50,7 +50,27 @@ LOCAL_MODULE_SUFFIX := .$(BV_VERSION).so LOCAL_PRELINK_MODULE := false LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/../vendor/lib -$(shell ln -fs ./libbltsville_gc2d.$(BV_VERSION).so $(LOCAL_MODULE_PATH)/libbltsville_gc2d.so) -$(shell ln -fs ./libbltsville_gc2d.so $(LOCAL_MODULE_PATH)/libbltsville_hw2d.so) - include $(BUILD_SHARED_LIBRARY) + +#Creating SymLinks +#libbltsville_gc2d.so -> libbltsville_gc2d.VERSION.so +#libbltsville_hw2d.so -> libbltsville_gc2d.so +SYMLINKS := $(TARGET_OUT_VENDOR)/lib/libbltsville_gc2d.so +$(SYMLINKS): GC2D_BINARY := ./$(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX) +$(SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk + @echo "Symlink: $@ -> $(GC2D_BINARY)" + @rm -rf $@ + $(hide) ln -fs $(GC2D_BINARY) $@ + +SYMLINKS1 := $(TARGET_OUT_VENDOR)/lib/libbltsville_hw2d.so +$(SYMLINKS1): LINK_BINARY := ./libbltsville_gc2d.so +$(SYMLINKS1): $(LOCAL_INSTALLED_MODULE) $(LOCAL_PATH)/Android.mk + @echo "Symlink: $@ -> $(LINK_BINARY)" + @rm -rf $@ + $(hide) ln -fs $(LINK_BINARY) $@ + +ALL_DEFAULT_INSTALLED_MODULES += $(SYMLINKS) $(SYMLINKS1) + +# for mm/mmm +all_modules: $(SYMLINKS) $(SYMLINKS1) + |