diff mbox series

[1/1] package/fmc: enable also for aarch64 QorIQ processors

Message ID 20240306113724.121900-1-dgouarin@gmail.com
State Accepted
Headers show
Series [1/1] package/fmc: enable also for aarch64 QorIQ processors | expand

Commit Message

David Gouarin March 6, 2024, 11:37 a.m. UTC
QorIQ processors family also includes LS Series wich are based on aarch64

Signed-off-by: David Gouarin <dgouarin@gmail.com>
---
 package/fmc/Config.in   |  6 +++---
 package/fmlib/Config.in | 10 ++++++++--
 2 files changed, 11 insertions(+), 5 deletions(-)

Comments

Arnout Vandecappelle April 7, 2024, 4:12 p.m. UTC | #1
On 06/03/2024 12:37, David Gouarin wrote:
> QorIQ processors family also includes LS Series wich are based on aarch64
> 
> Signed-off-by: David Gouarin <dgouarin@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/fmc/Config.in   |  6 +++---
>   package/fmlib/Config.in | 10 ++++++++--
>   2 files changed, 11 insertions(+), 5 deletions(-)
> 
> diff --git a/package/fmc/Config.in b/package/fmc/Config.in
> index c89a87c99e..1c6ae5e80a 100644
> --- a/package/fmc/Config.in
> +++ b/package/fmc/Config.in
> @@ -1,14 +1,14 @@
>   comment "fmc needs a toolchain w/ C++"
> -	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
> +	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
>   	depends on !BR2_INSTALL_LIBSTDCPP
>   
>   comment "fmc needs a Linux kernel to be built"
> -	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
> +	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
>   	depends on !BR2_LINUX_KERNEL
>   
>   config BR2_PACKAGE_FMC
>   	bool "fmc"
> -	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
> +	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
>   	depends on BR2_INSTALL_LIBSTDCPP
>   	depends on BR2_LINUX_KERNEL # fmlib
>   	select BR2_PACKAGE_TCLAP
> diff --git a/package/fmlib/Config.in b/package/fmlib/Config.in
> index 97d55d1250..459d5bf102 100644
> --- a/package/fmlib/Config.in
> +++ b/package/fmlib/Config.in
> @@ -1,10 +1,10 @@
>   comment "fmlib needs a Linux kernel to be built"
> -	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
> +	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
>   	depends on !BR2_LINUX_KERNEL
>   
>   config BR2_PACKAGE_FMLIB
>   	bool "fmlib"
> -	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
> +	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
>   	depends on BR2_LINUX_KERNEL
>   	help
>   	  The Frame Manager library provides Freescale PowerPC platforms
> @@ -33,6 +33,10 @@ config BR2_FMLIB_QORIQ_FAMILY_T2080
>   	bool "t208x"
>   	depends on BR2_powerpc_e6500
>   
> +config BR2_FMLIB_QORIQ_FAMILY_ARM
> +	bool "arm"
> +	depends on BR2_aarch64
> +
>   endchoice
>   
>   config BR2_PACKAGE_FMLIB_ARCHTYPE
> @@ -40,11 +44,13 @@ config BR2_PACKAGE_FMLIB_ARCHTYPE
>   	default "ppce500mc" if BR2_powerpc_e500mc
>   	default "ppc64e6500" if BR2_powerpc_e6500 && BR2_powerpc64
>   	default "ppc32e6500" if BR2_powerpc_e6500 && BR2_powerpc
> +	default "arm" if BR2_aarch64
>   
>   config BR2_PACKAGE_FMLIB_PLATFORM
>   	string
>   	default "P4080" if BR2_FMLIB_QORIQ_FAMILY_P4080
>   	default "T4240" if BR2_FMLIB_QORIQ_FAMILY_T4240
>   	default "FMAN_V3H" if BR2_FMLIB_QORIQ_FAMILY_T2080
> +	default "arm" if BR2_aarch64
>   
>   endif
diff mbox series

Patch

diff --git a/package/fmc/Config.in b/package/fmc/Config.in
index c89a87c99e..1c6ae5e80a 100644
--- a/package/fmc/Config.in
+++ b/package/fmc/Config.in
@@ -1,14 +1,14 @@ 
 comment "fmc needs a toolchain w/ C++"
-	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
+	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
 	depends on !BR2_INSTALL_LIBSTDCPP
 
 comment "fmc needs a Linux kernel to be built"
-	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
+	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
 	depends on !BR2_LINUX_KERNEL
 
 config BR2_PACKAGE_FMC
 	bool "fmc"
-	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
+	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_LINUX_KERNEL # fmlib
 	select BR2_PACKAGE_TCLAP
diff --git a/package/fmlib/Config.in b/package/fmlib/Config.in
index 97d55d1250..459d5bf102 100644
--- a/package/fmlib/Config.in
+++ b/package/fmlib/Config.in
@@ -1,10 +1,10 @@ 
 comment "fmlib needs a Linux kernel to be built"
-	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
+	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
 	depends on !BR2_LINUX_KERNEL
 
 config BR2_PACKAGE_FMLIB
 	bool "fmlib"
-	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
+	depends on BR2_powerpc_e500mc || BR2_powerpc_e6500 || BR2_aarch64
 	depends on BR2_LINUX_KERNEL
 	help
 	  The Frame Manager library provides Freescale PowerPC platforms
@@ -33,6 +33,10 @@  config BR2_FMLIB_QORIQ_FAMILY_T2080
 	bool "t208x"
 	depends on BR2_powerpc_e6500
 
+config BR2_FMLIB_QORIQ_FAMILY_ARM
+	bool "arm"
+	depends on BR2_aarch64
+
 endchoice
 
 config BR2_PACKAGE_FMLIB_ARCHTYPE
@@ -40,11 +44,13 @@  config BR2_PACKAGE_FMLIB_ARCHTYPE
 	default "ppce500mc" if BR2_powerpc_e500mc
 	default "ppc64e6500" if BR2_powerpc_e6500 && BR2_powerpc64
 	default "ppc32e6500" if BR2_powerpc_e6500 && BR2_powerpc
+	default "arm" if BR2_aarch64
 
 config BR2_PACKAGE_FMLIB_PLATFORM
 	string
 	default "P4080" if BR2_FMLIB_QORIQ_FAMILY_P4080
 	default "T4240" if BR2_FMLIB_QORIQ_FAMILY_T4240
 	default "FMAN_V3H" if BR2_FMLIB_QORIQ_FAMILY_T2080
+	default "arm" if BR2_aarch64
 
 endif