[dunfell] linux-ti-staging/mainline: depend on libmpc-native and gmp-native

Message ID 1650398253-47514-1-git-send-email-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [dunfell] linux-ti-staging/mainline: depend on libmpc-native and gmp-native | expand

Commit Message

Denys Dmytriyenko April 19, 2022, 7:57 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

Similar to OE-Core changes:
https://git.openembedded.org/openembedded-core/commit/?id=128abf5eb76dd0d2680c93f043bf7cac0a3552b8

5.10.85 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built.

Also add MPC dependency to linux-ti-mainline, as it already depends
on GMP since:
https://git.yoctoproject.org/meta-ti/commit/?id=0376ebcd4333ea2915b3113945ff6a818f7cb442

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 recipes-kernel/linux/linux-ti-mainline_git.bb | 2 +-
 recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

Comments

Nishanth Menon April 19, 2022, 11:12 p.m. UTC | #1
On 15:57-20220419, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@konsulko.com>
> 
> Similar to OE-Core changes:
> https://git.openembedded.org/openembedded-core/commit/?id=128abf5eb76dd0d2680c93f043bf7cac0a3552b8
> 
> 5.10.85 changed how the GCC plugins are built, which means they now
> depend on both GMP and MPC to be built.
> 
> Also add MPC dependency to linux-ti-mainline, as it already depends
> on GMP since:
> https://git.yoctoproject.org/meta-ti/commit/?id=0376ebcd4333ea2915b3113945ff6a818f7cb442
> 
> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> ---
>  recipes-kernel/linux/linux-ti-mainline_git.bb | 2 +-
>  recipes-kernel/linux/linux-ti-staging_5.10.bb | 2 ++
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-kernel/linux/linux-ti-mainline_git.bb b/recipes-kernel/linux/linux-ti-mainline_git.bb
> index 7491dae..4a5034f 100644
> --- a/recipes-kernel/linux/linux-ti-mainline_git.bb
> +++ b/recipes-kernel/linux/linux-ti-mainline_git.bb
> @@ -10,7 +10,7 @@ require recipes-kernel/linux/setup-defconfig.inc
>  require recipes-kernel/linux/kernel-rdepends.inc
>  require recipes-kernel/linux/ti-kernel.inc
>  
> -DEPENDS += "gmp-native"
> +DEPENDS += "gmp-native libmpc-native"
>  
>  KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
>  		      ${EXTRA_DTC_ARGS}"
> diff --git a/recipes-kernel/linux/linux-ti-staging_5.10.bb b/recipes-kernel/linux/linux-ti-staging_5.10.bb
> index 9eb5a30..a0ba18e 100644
> --- a/recipes-kernel/linux/linux-ti-staging_5.10.bb
> +++ b/recipes-kernel/linux/linux-ti-staging_5.10.bb
> @@ -13,6 +13,8 @@ require recipes-kernel/linux/bundle-devicetree.inc
>  require recipes-kernel/linux/kernel-rdepends.inc
>  require recipes-kernel/linux/ti-kernel.inc
>  
> +DEPENDS += "gmp-native libmpc-native"
> +
>  # Look in the generic major.minor directory for files
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"


Thank you.

Reviewed-by: Nishanth Menon <nm@ti.com>

Patch

diff --git a/recipes-kernel/linux/linux-ti-mainline_git.bb b/recipes-kernel/linux/linux-ti-mainline_git.bb
index 7491dae..4a5034f 100644
--- a/recipes-kernel/linux/linux-ti-mainline_git.bb
+++ b/recipes-kernel/linux/linux-ti-mainline_git.bb
@@ -10,7 +10,7 @@  require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/kernel-rdepends.inc
 require recipes-kernel/linux/ti-kernel.inc
 
-DEPENDS += "gmp-native"
+DEPENDS += "gmp-native libmpc-native"
 
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
 		      ${EXTRA_DTC_ARGS}"
diff --git a/recipes-kernel/linux/linux-ti-staging_5.10.bb b/recipes-kernel/linux/linux-ti-staging_5.10.bb
index 9eb5a30..a0ba18e 100644
--- a/recipes-kernel/linux/linux-ti-staging_5.10.bb
+++ b/recipes-kernel/linux/linux-ti-staging_5.10.bb
@@ -13,6 +13,8 @@  require recipes-kernel/linux/bundle-devicetree.inc
 require recipes-kernel/linux/kernel-rdepends.inc
 require recipes-kernel/linux/ti-kernel.inc
 
+DEPENDS += "gmp-native libmpc-native"
+
 # Look in the generic major.minor directory for files
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"