gpu: fix occasional compile error [1/1]
authorbinqi.zhang <binqi.zhang@amlogic.com>
Fri, 21 Dec 2018 05:11:02 +0000 (00:11 -0500)
committerbinqi.zhang <binqi.zhang@amlogic.com>
Fri, 21 Dec 2018 06:58:35 +0000 (01:58 -0500)
PD#SWPL-3488

Problem:
occasional compile error

Solution:
fix occasional compile error

Verify:
1. compile pass;
2. boot ok, can access in launcher;

Change-Id: I1997e418da8bf0447b2a1124305a0b74756e868c
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
lib/lib.mk

index f97603307016add44354a39022b281ae1b1f8690..225e463948f10530265618592f73943fba169e3a 100755 (executable)
@@ -89,7 +89,8 @@ endif
 
 ifeq ($(BOARD_INSTALL_VULKAN),true)
 LOCAL_POST_INSTALL_CMD = $(hide)\
-       ln -sf ../egl/$(notdir $(LOCAL_INSTALLED_MODULE)) $(dir $(LOCAL_INSTALLED_MODULE))../hw/vulkan.$(TARGET_PRODUCT).so
+       cd $(dir $(LOCAL_INSTALLED_MODULE))/../hw;\
+       ln -sf ../egl/$(notdir $(LOCAL_INSTALLED_MODULE)) ./vulkan.$(TARGET_PRODUCT).so
 endif
 
 include $(BUILD_PREBUILT)