[Feature]Merge MP1_MR1 from MTK meta and prebulit

Change-Id: I7c6ce41ec9a078a1daa51fcc339e13ed412518c1
diff --git a/prebuilt/devtools/aee/makefile b/prebuilt/devtools/aee/makefile
old mode 100644
new mode 100755
index 6e1dade..f7cd30c
--- a/prebuilt/devtools/aee/makefile
+++ b/prebuilt/devtools/aee/makefile
@@ -1,4 +1,9 @@
 package_arch = $(subst -,_,${PACKAGE_ARCH})
+rpm_bin=${bindir}/rpm2cpio
+
+ifeq ("$(wildcard $(rpm_bin))","")
+    rpm_bin=rpm2cpio
+endif
 
 #default toolchain is gcc
 toolchain = gcc
@@ -14,6 +19,11 @@
 property = sncfg
 endif
 
+ifneq ($(findstring mt2735, ${TARGET_PLATFORM}),)
+# only 2735 use glibc 2.28
+toolchain = gcc_glibc_2.28
+endif
+
 lib_path = usr/lib
 
 ifneq ($(findstring aarch64, ${package_arch}),)
@@ -25,7 +35,7 @@
 all:
 
 install:
-	find -name "*.$(package_arch)_$(property)_$(toolchain).rpm" | while read i; do echo $${i}; ${bindir}/rpm2cpio $${i} | cpio -idmv ; done
+	find -name "*.$(package_arch)_$(property)_$(toolchain).rpm" | while read i; do echo $${i}; ${rpm_bin} $${i} | cpio -idmv ; done
 
 	install -d $(DESTDIR)/usr/bin/
 	install -m 0755 usr/bin/aee_aed $(DESTDIR)/usr/bin