[Feature]add MT2731_MP2_MR2_SVN388 baseline version

Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/kernel/linux/v4.14/scripts/profile2linkerlist.pl b/src/kernel/linux/v4.14/scripts/profile2linkerlist.pl
new file mode 100755
index 0000000..316e719
--- /dev/null
+++ b/src/kernel/linux/v4.14/scripts/profile2linkerlist.pl
@@ -0,0 +1,20 @@
+#!/usr/bin/env perl
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# Takes a (sorted) output of readprofile and turns it into a list suitable for
+# linker scripts
+#
+# usage:
+#	 readprofile | sort -rn | perl profile2linkerlist.pl > functionlist
+#
+use strict;
+
+while (<>) {
+  my $line = $_;
+
+  $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;
+
+  print "*(.text.$1)\n"
+      unless ($line =~ /unknown/) || ($line =~ /total/);
+}