安卓指定 LK_Kernel 配置文件位置

Z:\work\E300L_WW_eng3\src\device\wind\E300L_WW\AndroidBoard.mk

    #----------------------------------------------------------------------
    # Compile (L)ittle (K)ernel bootloader and the nandwrite utility
    #----------------------------------------------------------------------
    ifneq ($(strip $(TARGET_NO_BOOTLOADER)),true)

    # Compile
    include bootable/bootloader/lk/AndroidBoot.mk

    $(INSTALLED_BOOTLOADER_MODULE): $(TARGET_EMMC_BOOTLOADER) | $(ACP)
        $(transform-prebuilt-to-target)
    $(BUILT_TARGET_FILES_PACKAGE): $(INSTALLED_BOOTLOADER_MODULE)

    droidcore: $(INSTALLED_BOOTLOADER_MODULE)
    endif
    
    
    #----------------------------------------------------------------------
    # Compile Linux Kernel
    #----------------------------------------------------------------------
    ifeq ($(KERNEL_DEFCONFIG),)
        ifeq ($(TARGET_BUILD_VARIANT),user)
          KERNEL_DEFCONFIG := E300L_WW-perf_defconfig
        else
          KERNEL_DEFCONFIG := E300L_WW_defconfig
        endif
    endif
    ifeq ($(TARGET_KERNEL_SOURCE),)
         TARGET_KERNEL_SOURCE := kernel
    endif

    include $(TARGET_KERNEL_SOURCE)/AndroidKernel.mk

猜你喜欢

转载自blog.csdn.net/wangjun7121/article/details/88173834