summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2020-10-14 16:49:37 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-10-17 19:04:54 +0200
commita8ee1e4e3a6d74c02b9284efdc1847d83ed2475f (patch)
tree31bcdda62d7d1a5e2d019aee1f131ebdb7748776 /recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb
parentb1962a7679ceb331f87a6b4cad9ef7cd433cd30b (diff)
linux-toradex-5.4-2.1.x: drop separate defconfigs
Change to use the defconfig which is part of the kernel tree. In order to provide a defconfig from your bbappend add a file 'defconfig' through SRC_URI which will take precedence. Related-to: ELB-3035 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 87ea3e80f0a0a78d9dba31273f4610881ab36251)
Diffstat (limited to 'recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb')
-rw-r--r--recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb b/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb
index 58c85b5..e1b2e61 100644
--- a/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb
+++ b/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb
@@ -15,7 +15,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
SRC_URI = " \
git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH} \
- file://defconfig \
"
# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS)
@@ -37,6 +36,12 @@ SRCREV_use-head-next = "${AUTOREV}"
DEPENDS += "lzop-native bc-native"
COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
+KBUILD_DEFCONFIG_apalis-imx6 ?= "apalis_imx6_defconfig"
+KBUILD_DEFCONFIG_colibri-imx6 ?= "colibri_imx6_defconfig"
+KBUILD_DEFCONFIG_colibri-imx6ull ?= "colibri-imx6ull_defconfig"
+KBUILD_DEFCONFIG_mx7 ?= "colibri_imx7_defconfig"
+KBUILD_DEFCONFIG_mx8 ?= "defconfig"
+
###############################################################################
# Apply the RT patch and change the configuration to use PREMPT_RT when the
# preempt-rt override is set.