projectceladon/device-androidia-mixins

please respect to "KERNEL_CONFIG_DIR" in kernel group

zhangn1985 opened this issue · 0 comments

KERNEL_CONFIG_DIR := {{{kernel_config_dir}}}
KERNEL_NAME := bzImage
# Set the output for the kernel build products.
KERNEL_OUT := $(abspath $(TARGET_OUT_INTERMEDIATES)/kernel)
KERNEL_BIN := $(KERNEL_OUT)/arch/$(TARGET_KERNEL_ARCH)/boot/$(KERNEL_NAME)
KERNEL_MODULES_INSTALL := $(PRODUCT_OUT)/$(TARGET_COPY_OUT_VENDOR)/lib/modules
KERNELRELEASE = $(shell cat $(KERNEL_OUT)/include/config/kernel.release)
KMOD_OUT := $(shell readlink -f "$(PRODUCT_OUT)/$(TARGET_COPY_OUT_VENDOR)")
build_kernel := $(MAKE) -C $(TARGET_KERNEL_SRC) \
O=$(KERNEL_OUT) \
ARCH=$(TARGET_KERNEL_ARCH) \
CROSS_COMPILE="$(KERNEL_CROSS_COMPILE_WRAPPER)" \
KCFLAGS="$(KERNEL_CFLAGS)" \
KAFLAGS="$(KERNEL_AFLAGS)" \
$(if $(SHOW_COMMANDS),V=1) \
INSTALL_MOD_PATH=$(KMOD_OUT)
KERNEL_CONFIG_FILE := device/intel/project-celadon/kernel_config/$(TARGET_KERNEL_CONFIG)

this is very simple bug.

it defines KERNEL_CONFIG_DIR to the value from option.spec, but KERNEL_CONFIG_FILE is hardcoded to project-celandon.

please have a quick fix.