ifeq ($(INSTALLED_KERNEL_TARGET),)
INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel
-INSTALLED_DTBO_TARGET := $(PRODUCT_OUT)/dtbo.img
+INSTALLED_DTBOIMAGE_TARGET := $(PRODUCT_OUT)/dtbo.img
+BOARD_PREBUILT_DTBOIMAGE := $(PRODUCT_OUT)/dtbo.img
INSTALLED_DTB_TARGET := $(PRODUCT_OUT)/dtb.img
endif
rm -f $(KERNEL_BIN)
rm -f $(KERNEL_DTB)
rm -f $(INSTALLED_KERNEL_TARGET)
- rm -f $(INSTALLED_DTBO_TARGET)
+ rm -f $(INSTALLED_DTBOIMAGE_TARGET)
rm -f $(INSTALLED_DTB_TARGET)
.PHONY: kernel
$(INSTALLED_KERNEL_TARGET): $(KERNEL_BIN) $(MKDTIMG)
cp $(KERNEL_BIN) $(INSTALLED_KERNEL_TARGET)
cp $(KERNEL_DTB) $(INSTALLED_DTB_TARGET)
- $(hide) echo "Building DTBO..."
+ $(hide) echo "Building DTBOIMAGE..."
ln -sf $(TARGET_KERNEL_SOURCE)/arch
- $(MKDTIMG) cfg_create $(INSTALLED_DTBO_TARGET) $(KERNEL_DTBO_CFG)
+ $(MKDTIMG) cfg_create $(INSTALLED_DTBOIMAGE_TARGET) $(KERNEL_DTBO_CFG)
rm -f arch
endif #TARGET_PREBUILT_KERNEL