Skip to contentSkip to conversation

linux-ti-mainline: Add gmp-native as a kernel dependency

PATCH In review Nishanth Menon 2 participants 2 messages Mar 23, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-ti-mainline: Add gmp-native as a kernel dependency

From: Dan Murphy <[email protected]>

Add GNU Multiple Precision Arithmetic Library as a dependency for mainline linux builds. These are necesary for kernel to handle gcc plugins for builtins.h

---
 recipes-kernel/linux/linux-ti-mainline_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/linux/linux-ti-mainline_git.bb +2 -0
index ed7607046186..41e852ba0e88 100644
@@ -9,6 +9,8 @@ DEFCONFIG_BUILDER = "${WORKDIR}/ti-upstream-tools/config/defconfig_builder.sh"
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/kernel-rdepends.inc
 
+DEPENDS += "gmp-native"
+
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.31.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Nishanth Menon

From: Dan Murphy <[email protected]>

Add GNU Multiple Precision Arithmetic Library as a dependency for mainline linux builds. These are necesary for kernel to handle gcc plugins for builtins.h

This is in-line with oe-core as added since 5.8 in:
d3590f16d9c1b56813114113b74f7b6f01e6b0ba kernel-yocto/5.8: add gmp-native dependency

Quoted 2 lines
Quoted 19 lines
---
 recipes-kernel/linux/linux-ti-mainline_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/linux/linux-ti-mainline_git.bb +2 -0
index ed7607046186..41e852ba0e88 100644
@@ -9,6 +9,8 @@ DEFCONFIG_BUILDER = "${WORKDIR}/ti-upstream-tools/config/defconfig_builder.sh"
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/kernel-rdepends.inc
 
+DEPENDS += "gmp-native"
+
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.31.0