浏览代码

package/fmc: enable also for aarch64 QorIQ processors

QorIQ processors family also includes LS Series wich are based on aarch64

Signed-off-by: David Gouarin <dgouarin@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 2656ca8912e151e874ceb366e6eef0bfe4228ac0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
David Gouarin 1 年之前
父节点
当前提交
6e8ae6b661
共有 2 个文件被更改,包括 11 次插入5 次删除
  1. 3 3
      package/fmc/Config.in
  2. 8 2
      package/fmlib/Config.in

+ 3 - 3
package/fmc/Config.in

@@ -1,14 +1,14 @@
 comment "fmc needs a toolchain w/ C++"
 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
 	depends on !BR2_INSTALL_LIBSTDCPP
 
 
 comment "fmc needs a Linux kernel to be built"
 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
 	depends on !BR2_LINUX_KERNEL
 
 
 config BR2_PACKAGE_FMC
 config BR2_PACKAGE_FMC
 	bool "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_INSTALL_LIBSTDCPP
 	depends on BR2_LINUX_KERNEL # fmlib
 	depends on BR2_LINUX_KERNEL # fmlib
 	select BR2_PACKAGE_TCLAP
 	select BR2_PACKAGE_TCLAP

+ 8 - 2
package/fmlib/Config.in

@@ -1,10 +1,10 @@
 comment "fmlib needs a Linux kernel to be built"
 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
 	depends on !BR2_LINUX_KERNEL
 
 
 config BR2_PACKAGE_FMLIB
 config BR2_PACKAGE_FMLIB
 	bool "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
 	depends on BR2_LINUX_KERNEL
 	help
 	help
 	  The Frame Manager library provides Freescale PowerPC platforms
 	  The Frame Manager library provides Freescale PowerPC platforms
@@ -33,6 +33,10 @@ config BR2_FMLIB_QORIQ_FAMILY_T2080
 	bool "t208x"
 	bool "t208x"
 	depends on BR2_powerpc_e6500
 	depends on BR2_powerpc_e6500
 
 
+config BR2_FMLIB_QORIQ_FAMILY_ARM
+	bool "arm"
+	depends on BR2_aarch64
+
 endchoice
 endchoice
 
 
 config BR2_PACKAGE_FMLIB_ARCHTYPE
 config BR2_PACKAGE_FMLIB_ARCHTYPE
@@ -40,11 +44,13 @@ config BR2_PACKAGE_FMLIB_ARCHTYPE
 	default "ppce500mc" if BR2_powerpc_e500mc
 	default "ppce500mc" if BR2_powerpc_e500mc
 	default "ppc64e6500" if BR2_powerpc_e6500 && BR2_powerpc64
 	default "ppc64e6500" if BR2_powerpc_e6500 && BR2_powerpc64
 	default "ppc32e6500" if BR2_powerpc_e6500 && BR2_powerpc
 	default "ppc32e6500" if BR2_powerpc_e6500 && BR2_powerpc
+	default "arm" if BR2_aarch64
 
 
 config BR2_PACKAGE_FMLIB_PLATFORM
 config BR2_PACKAGE_FMLIB_PLATFORM
 	string
 	string
 	default "P4080" if BR2_FMLIB_QORIQ_FAMILY_P4080
 	default "P4080" if BR2_FMLIB_QORIQ_FAMILY_P4080
 	default "T4240" if BR2_FMLIB_QORIQ_FAMILY_T4240
 	default "T4240" if BR2_FMLIB_QORIQ_FAMILY_T4240
 	default "FMAN_V3H" if BR2_FMLIB_QORIQ_FAMILY_T2080
 	default "FMAN_V3H" if BR2_FMLIB_QORIQ_FAMILY_T2080
+	default "arm" if BR2_aarch64
 
 
 endif
 endif