aml-ubootenv: Install libubootenv.so to the target directory. [2/2]
PD#SWPL-123333
Problem:
Swupdate upgrade failed due to missing libubootenv.so.
Solution:
Install libubootenv.so to the target directory to solve swupdate error.
Verify:
AV400,S420.
Change-Id: I54ef75ec929d1d4bc19a9e4a320e30a0b16b5110
Signed-off-by: hongmei.kuang <hongmei.kuang@amlogic.com>
diff --git a/ubootenv/Makefile b/ubootenv/Makefile
index 373a7b4..98e0f38 100755
--- a/ubootenv/Makefile
+++ b/ubootenv/Makefile
@@ -26,6 +26,7 @@
rm -f $(OUT_DIR)/uenv
install:
+ install -m 755 $(OUT_DIR)/$(LIB) $(TARGET_DIR)/usr/lib
install -m 755 $(OUT_DIR)/$(LIB) $(STAGING_DIR)/usr/lib
install -m 755 $(OUT_DIR)/uenv $(TARGET_DIR)/usr/bin
install -m 644 $(INCLUDE) $(STAGING_DIR)/usr/include