add mtd_info bin.
Change-Id: Ie0ce84d29b69756c434b2dc052ec123fcf40ffd3
diff --git a/build.sh b/build.sh
index 92335b9..2835457 100755
--- a/build.sh
+++ b/build.sh
@@ -96,10 +96,10 @@
if [ ! -d $ROOTFS_DIR/lib ];then
mkdir $ROOTFS_DIR/lib
fi
-
+
# Copy All SO Files.
cp -f out/lib/* $ROOTFS_DIR/lib
-
+
# Copy All Bin Files.
#cp -f out/bin/* $ROOTFS_DIR/bin
[ -f out/bin/at ] && cp -f out/bin/at $ROOTFS_DIR/bin
@@ -109,6 +109,7 @@
[ -f out/bin/mbtk_mdio ] && cp -f out/bin/mbtk_mdio $ROOTFS_DIR/bin
[ -f out/bin/device_info_generate ] && cp -f out/bin/device_info_generate $ROOTFS_DIR
[ -f out/bin/device_info ] && cp -f out/bin/device_info $ROOTFS_DIR/bin
+ [ -f out/bin/mtd_info ] && cp -f out/bin/mtd_info $ROOTFS_DIR/bin
else
echo "No found rootfs : $ROOTFS_DIR"
fi
@@ -120,17 +121,17 @@
build $1
exit 0
fi
-
+
if [ -d out/bin -a -d out/lib ];then
build
-
+
file_copy
else
if [ ! -d out/bin ];then
mkdir -p out/bin/asr1803
mkdir -p out/bin/asr1806
fi
-
+
if [ ! -d out/lib ];then
mkdir -p out/lib
fi