ccmp1: add weak assignment for KERNEL_EXTERNAL_DEFCONFIG

Digi's mechanism to use a custom Linux kernel defconfig is
based on setting the variable KERNEL_DEFCONFIG, however ST
implements their own mechanism with a custom variable
KERNEL_EXTERNAL_DEFCONFIG. When providing an external defconfig,
the variable needs to be set, otherwise a build error
will be generated.  So to keep compatibility with NXP
platforms, this commit weakly assigns KERNEL_EXTERNAL_DEFCONFIG
to a default value "defconfig".

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2023-09-06 16:28:04 +02:00
parent b4e886f216
commit 894a28de64
2 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,7 @@ OPTEE_CONF = "ccmp13-dvk"
KERNEL_IMAGETYPE = "zImage"
KERNEL_ALT_IMAGETYPE = "Image uImage vmlinux"
KERNEL_DEFCONFIG ?= "ccmp1_defconfig"
KERNEL_EXTERNAL_DEFCONFIG ?= "defconfig"
ST_KERNEL_LOADADDR ?= "0xC0008000"
# =========================================================================

View File

@ -122,6 +122,7 @@ OPTEE_CONF = "ccmp15-dvk"
KERNEL_IMAGETYPE = "zImage"
KERNEL_ALT_IMAGETYPE = "Image uImage vmlinux"
KERNEL_DEFCONFIG ?= "ccmp1_defconfig"
KERNEL_EXTERNAL_DEFCONFIG ?= "defconfig"
ST_KERNEL_LOADADDR ?= "0xC0008000"
# =========================================================================