Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 032ad656 authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

AndroidKernel: Look for defconfig under vendor/



The target configuration searches for defconfig under
configs/vendor/ by default. Hence, change the search
path for the same for kernel configuration.

Change-Id: Ica83363fc6783eb1ce2d46acfd755a1915e1d113
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 075bdfaf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -28,6 +28,10 @@ $(warning Forcing kernel header generation only for '$(TARGET_KERNEL_HEADER_ARCH
KERNEL_HEADER_ARCH := $(TARGET_KERNEL_HEADER_ARCH)
endif

ifeq ($(shell echo $(KERNEL_DEFCONFIG) | grep vendor),)
KERNEL_DEFCONFIG := vendor/$(KERNEL_DEFCONFIG)
endif

KERNEL_HEADER_DEFCONFIG := $(strip $(KERNEL_HEADER_DEFCONFIG))
ifeq ($(KERNEL_HEADER_DEFCONFIG),)
KERNEL_HEADER_DEFCONFIG := $(KERNEL_DEFCONFIG)