编译 Buildroot,envsetup.sh 是终端环境变量设置脚本: source buildroot/build/envsetup.shYou're building on LinuxLunch menu...pick a combo: 0. non-rockchip boards 1. firefly_rk3288 3. firefly_rk3288_demo 4. firefly_rk3308_pcba 5. firefly_rk3308_qt_release 6. firefly_rk3308_recovery 7. firefly_rk3308_release Which would you like? [0] 7 Which would you like? [0]: 7 =========================================== #TARGET_BOARD=rk3308 #OUTPUT_DIR=output/firefly_rk3308_release #CONFIG=firefly_rk3308_release_defconfig =========================================== make: Entering directory '/home/firefly/proj/buildroot' GEN /home/firefly/proj/buildroot/output/firefly_rk3308_release/Makefile /home/firefly/proj/buildroot/build/defconfig_hook.py -m /home/firefly/proj/buildroot/configs/firefly_rk3308_release_defconfig /home/firefly/proj/buildroot/output/firefly_rk3308_release/.rockchipconfig BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/firefly/proj/buildroot/output/firefly_rk3308_release/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/firefly/proj/buildroot/output/firefly_rk3308_release/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/firefly/proj/buildroot/output/firefly_rk3308_release/build/buildroot-config/tristate.config BR2_CONFIG=/home/firefly/proj/buildroot/output/firefly_rk3308_release/.config HOST_GCC_VERSION="7" BUILD_DIR=/home/firefly/proj/buildroot/output/firefly_rk3308_release/build SKIP_LEGACY= BR2_DEFCONFIG=/home/firefly/proj/buildroot/configs/firefly_rk3308_release_defconfig /home/firefly/proj/buildroot/output/firefly_rk3308_release/build/buildroot-config/conf --defconfig=/home/firefly/proj/buildroot/output/firefly_rk3308_release/.rockchipconfig Config.in # # configuration written to /home/firefly/proj/buildroot/output/firefly_rk3308_release/.config # make: Leaving directory '/home/firefly/proj/buildroot' root@ubuntu:~/proj# make umask 0022 && make -C /home/firefly/proj/buildroot O=/home/firefly/proj/buildroot/output/firefly_rk3308_release /usr/bin/make -j1 O=/home/firefly/proj/buildroot/output/firefly_rk3308_release HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig GEN /home/firefly/proj/buildroot/output/firefly_rk3308_release/Makefile >>> rkwifibt 1.0.0 Building mkdir -p /home/firefly/proj/buildroot/output/firefly_rk3308_release/target/system/lib/modules/ /home/firefly/proj/buildroot/../build.sh modules processing option: modules ============Start building kernel modules============ TARGET_ARCH =arm64 TARGET_KERNEL_CONFIG =firefly-rk3308b_linux_defconfig TARGET_KERNEL_CONFIG_FRAGMENT = ================================================== make[2]: *** No rule to make target 'firefly-rk3308b_linux_defconfig'. Stop. ERROR: Running build_modules failed! ERROR: exit code 2 from line 695: make ARCH=$RK_ARCH $RK_KERNEL_DEFCONFIG $RK_KERNEL_DEFCONFIG_FRAGMENT package/pkg-generic.mk:247: recipe for target '/home/firefly/proj/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/.stamp_built' failed make[1]: *** [/home/firefly/proj/buildroot/output/firefly_rk3308_release/build/rkwifibt-1.0.0/.stamp_built] Error 2 /home/firefly/proj/buildroot/output/firefly_rk3308_release/Makefile:16: recipe for target '_all' failed make: *** [_all] Error 2 简单描述: 之前是选择全编译,发现无法通过 然后:先后编译uboot、kernel都可以,到buildroot这里无法通过编译 另:QT开发那里的 buildroot配置文件使能QT相关选项所指的配置文件是否device/rockchip/rk3308/roc-rk3308b-cc-plus-buildroot.mk? 在这个文件后面增加那些内容吗? 谢谢! |
-
20 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1