init: optimization script [1/1]

PD#SWPL-64232

Problem:
add customisation to the file system when rebuild.

Solution:
if need to add customisation to the file system,
creat customor folder in the common_driver directory,
it will be automatically compiled into the filesystem.

Verify:
local check

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: If119e01e9e568ef13e46786d52a41168ca40e033
diff --git a/amlogic_utils.sh b/amlogic_utils.sh
index 60f9fcf..fff887a 100644
--- a/amlogic_utils.sh
+++ b/amlogic_utils.sh
@@ -168,6 +168,9 @@
 	mkdir rootfs
 	cd rootfs
 	cpio -i -F ../rootfs_base.cpio
+	if [ -d ${ROOT_DIR}/common_drivers/customer ]; then
+		cp ${ROOT_DIR}/common_drivers/customer . -rf
+	fi
 	cp -rf ../../modules .
 	find . | cpio -o -H newc | gzip > ../rootfs_new.cpio.gz
 	cd ../