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

Commit 914a8973 authored by Steve Muckle's avatar Steve Muckle
Browse files

change kernel config naming convention

The kernel config naming convention is being modified
to use .config instead of .cfg.

Bug: 111762107
Test: builds
Change-Id: I33fb46226313abc2c8e854301cef1ac1b34342d2
parent 8de59b93
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@
#       assemble_vintf invocation. Format is "VINTF_ENFORCE_NO_UNUSED_HALS=true".
# LOCAL_ASSEMBLE_VINTF_FLAGS: Add additional command line arguments to assemble_vintf invocation.
# LOCAL_KERNEL_CONFIG_DATA_PATHS: Paths to search for kernel config requirements. Format for each is
#       <kernel version x.y.z>:<path that contains android-base*.cfg>.
#       <kernel version x.y.z>:<path that contains android-base*.config>.
# LOCAL_GEN_FILE_DEPENDENCIES: A list of additional dependencies for the generated file.

ifndef LOCAL_MODULE
@@ -80,10 +80,10 @@ endif # LOCAL_ADD_VBMETA_VERSION
ifneq (,$(strip $(LOCAL_KERNEL_CONFIG_DATA_PATHS)))
$(GEN): PRIVATE_KERNEL_CONFIG_DATA_PATHS := $(LOCAL_KERNEL_CONFIG_DATA_PATHS)
$(GEN): $(foreach pair,$(PRIVATE_KERNEL_CONFIG_DATA_PATHS),\
    $(wildcard $(call word-colon,2,$(pair))/android-base*.cfg))
    $(wildcard $(call word-colon,2,$(pair))/android-base*.config))
$(GEN): PRIVATE_FLAGS += $(foreach pair,$(PRIVATE_KERNEL_CONFIG_DATA_PATHS),\
	--kernel=$(call word-colon,1,$(pair)):$(call normalize-path-list,\
		$(wildcard $(call word-colon,2,$(pair))/android-base*.cfg)))
		$(wildcard $(call word-colon,2,$(pair))/android-base*.config)))
endif

my_matrix_src_files := \