@
learnshare 我自己按照谷歌的文档又搭了一遍,结果内核编译不了。。只能默默用回虚拟机。。
$ ./
build.sh -p sun7i_android
mkscript current setting:
Chip: sun7i
Platform: android
Board:
Output Dir: /Volumes/Android/A20MID/lichee/out/android/common
INFO: build lichee ...
INFO: build buildroot ...
installing external toolchain
please wait for a few minutes ...
INFO: build buildroot OK.
INFO: build kernel ...
INFO: prepare toolchain ...
cat: /proc/cpuinfo: No such file or directory
Building kernel
build standby
Generating autoconf.h for standby
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/net/ethernet/sunxi/Kconfig:11:warning: multi-line strings not supported
drivers/net/wireless/bcmdhd/Kconfig:45:warning: defaults for choice values not supported
arm-linux-gnueabi-gcc -I. -I/Volumes/Android/A20MID/lichee/linux-3.4/include -I/Volumes/Android/A20MID/lichee/linux-3.4/arch/arm/mach-sun7i/include -g -c -nostdlib -march=armv7-a -marm -D__STANDBY_MODULE__ -fno-unwind-tables -fno-asynchronous-unwind-tables -mlittle-endian -O2 --min_array_alignment=4 --no_unaligned_access -e dram_freq_main dram_freq_entry.c -o dram_freq_entry.o
/Volumes/Android/A20MID/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: /Volumes/Android/A20MID/lichee/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: cannot execute binary file
make: *** [all] Error 126
ERROR: build kernel Failed