Support to check and copy prebuilt files.

N/A

Signed-off-by: liminghao <vgotoos@gmail.com>
Support create rootdir for ramdisk.

N/A

Signed-off-by: liminghao <vgotoos@gmail.com>