0
我正在嘗試進行自定義生成(如移植指南中所述 - http://source.android.com/porting/build_new_device.html),並始終以錯誤消息 作爲結果:***沒有規則將目標vendor/company/emh-board/kernel', needed by
設爲目標/目標/產品/ EMH板/內核」。停止。自定義android版本問題
有誰知道爲什麼會發生這種情況。我開始建立一個使用「使產品EMH用戶」 我AndroidBoard.mk看起來像
# make file for new hardware from
#
LOCAL_PATH := $(call my-dir)
#
# this is here to use the pre-built kernel
ifeq ($(TARGET_PREBUILT_KERNEL),)
TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
endif
#
file := $(INSTALLED_KERNEL_TARGET)
ALL_PREBUILT += $(file)
$(file) : $(TARGET_PREBUILT_KERNEL) | $(ACP)
$(transform-prebuilt-to-target)
#
# no boot loader, so we don't need any of that stuff..
#
LOCAL_PATH := vendor/company/emh-board
#
include $(CLEAR_VARS)
#
# include more board specific stuff here? Such as Audio parameters.
#