Image arch/arm/boot/uImage is ready
'/home/x4418/Documents/x4418/linux/kernel/kernel-3.4.39/arch/arm/boot/uImage' -> '/home/x4418/Documents/x4418/out/release/uImage'
^_^ kernel path: /home/x4418/Documents/x4418/out/release/uImage
boot.img -> /home/x4418/Documents/x4418/out/release
'/home/x4418/Documents/x4418/out/release/uImage' -> '/home/x4418/Documents/x4418/out/target/product/drone2//boot'
./mk: 79: ./mk: mkuserimg.sh: not found
cp: cannot stat '/home/x4418/Documents/x4418/out/target/product/drone2//boot.img': No such file or directory
更改了mk 更找到 mkuserimg.sh,但是出现下面的错误:
Image arch/arm/boot/uImage is ready
'/home/x4418/Documents/x4418/linux/kernel/kernel-3.4.39/arch/arm/boot/uImage' -> '/home/x4418/Documents/x4418/out/release/uImage'
^_^ kernel path: /home/x4418/Documents/x4418/out/release/uImage
boot.img -> /home/x4418/Documents/x4418/out/release
'/home/x4418/Documents/x4418/out/release/uImage' -> '/home/x4418/Documents/x4418/out/target/product/drone2/boot'
+ echo 'in mkuserimg.sh PATH=/home/x4418/Documents/x4418/out/host/linux-x86/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games'
in mkuserimg.sh PATH=/home/x4418/Documents/x4418/out/host/linux-x86/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
+ ENABLE_SPARSE_IMAGE=
+ '[' -s = -s ']'
+ ENABLE_SPARSE_IMAGE=-s
+ shift
+ '[' 5 -ne 5 -a 5 -ne 6 ']'
+ SRC_DIR=/home/x4418/Documents/x4418/out/target/product/drone2/boot
+ '[' '!' -d /home/x4418/Documents/x4418/out/target/product/drone2/boot ']'
+ echo 'Can not find directory /home/x4418/Documents/x4418/out/target/product/drone2/boot!'
Can not find directory /home/x4418/Documents/x4418/out/target/product/drone2/boot!
+ exit 2
cp: cannot stat '/home/x4418/Documents/x4418/out/target/product/drone2/boot.img': No such file or directory