Toybrick

标题: 新手编译内核失败,求解决! [打印本页]

作者: Miro    时间: 2019-7-23 15:48
标题: 新手编译内核失败,求解决!
ninja: no work to do.
ninja: no work to do.
device/rockchip/rk3399pro/preinstall/Android.mk was modified, regenerating...
Saved manifest to commit_id.xml
[2/1082] including ./art/Android.mk ...
art/build/Android.common.mk:50: warning: unsupported HOST_ARCH=x86_64
[4/1082] including ./bootable/recovery/Android.mk ...
./bootable/recovery/Android.mk:101: warning: *** Redirect log to UART
[516/1082] including ./hardware/rockchip/camera/Android.mk ...
BOARD_DEFAULT_CAMERA_HAL_VERSION=1.0
[523/1082] including ./hardware/rockchip/librga/Android.mk ...
Generated version.h
[526/1082] including ./hardware/rockchip/omx_il/Android.mk ...
tools/hooks .git/hooks
[528/1082] including ./hardware/rockchip/sensor/Android.mk ...
YD>>PLATFORM_VERSION=8.1.0
YD>>ANDRIOD VERSION=8.1
YD>>VERSION_L=, VERSION_KK=
YD>>LOCAL_MODULE=sensors.rk30board
YD>>LOCAL_MODULE=sensors.rk30board, LOCAL_SRC_FILES=sensors_mpl.cpp SamsungSensorBase.cpp LightSensor.cpp ProximitySensor.cpp, LOCAL_SHARED_LIBRARIES=libinvensense_hal libcutils libutils libdl liblog libmllite
[1082/1082] including ./vendor/rockchip/common/vpu/Android.mk ...
PRODUCT_COPY_FILES device/rockchip/common/init.rk30board.usb.rc:root/init.rk30board.usb.rc ignored.
PRODUCT_COPY_FILES vendor/rockchip/common/npu/bin/npu_transfer_proxy:vendor/bin/npu_transfer_proxy ignored.
PRODUCT_COPY_FILES vendor/rockchip/common/npu/npu_transfer_proxy.rc:vendor/etc/init/npu_transfer_proxy.rc ignored.
No private recovery resources for TARGET_DEVICE rk3399pro
build/core/aapt2.mk:32: warning: overriding commands for target `out/target/product/rk3399pro/obj/APPS/Bluetooth_intermediates/flat-res/device/rockchip/common/overlay/packages/apps/Bluetooth/res/values_config.arsc.flat'
build/core/aapt2.mk:32: warning: ignoring old commands for target `out/target/product/rk3399pro/obj/APPS/Bluetooth_intermediates/flat-res/device/rockchip/common/overlay/packages/apps/Bluetooth/res/values_config.arsc.flat'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro/vendor/lib/libjpeghwenc.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro/vendor/lib/libjpeghwenc.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro/vendor/lib/libjpeghwdec.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro/vendor/lib/libjpeghwdec.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro/vendor/lib64/libjpeghwenc.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro/vendor/lib64/libjpeghwenc.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro/system/bin/chat'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro/system/bin/chat'
[ 50% 1/2] glob art
ninja: error: 'kernel/arch/arm64/boot/Image', needed by 'out/target/product/rk3399pro/kernel', missing and no known rule to make it
15:43:30 ninja failed with: exit status 1
make: *** [run_soong_ui] Error 1


我查了下out/target/product/rk3399pro/下面并没有kernel文件,kernel文件怎么来的?


作者: jefferyzhang    时间: 2019-7-23 17:09
kernel要先编译才行
android编译recovery时候打包会把kernel打包进去, 没有kernel文件不行
作者: Miro    时间: 2019-7-24 10:16
好的,谢谢




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3