Toybrick

新手编译内核失败,求解决!

Miro

新手上路

积分
43
楼主
发表于 2019-7-23 15:48:54    查看: 9504|回复: 2 | [复制链接]    打印 | 只看该作者
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

版主

积分
13578
沙发
发表于 2019-7-23 17:09:52 | 只看该作者
kernel要先编译才行
android编译recovery时候打包会把kernel打包进去, 没有kernel文件不行
回复

使用道具 举报

Miro

新手上路

积分
43
板凳
 楼主| 发表于 2019-7-24 10:16:12 | 只看该作者
好的,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表