1
0
Преглед на файлове

add basic support for arm in big endian mode (toolchain build)

Waldemar Brodkorb преди 9 години
родител
ревизия
37a9feea20
променени са 4 файла, в които са добавени 6 реда и са изтрити 3 реда
  1. 0 1
      target/arm/systems/toolchain-arm
  2. 1 1
      target/config/Config.in.arm.choice
  3. 1 0
      target/config/Config.in.cpu
  4. 4 1
      target/config/Config.in.endian.choice

+ 0 - 1
target/arm/systems/toolchain-arm

@@ -2,7 +2,6 @@ config ADK_TARGET_SYSTEM_TOOLCHAIN_ARM
 	bool "Toolchain only"
 	bool "Toolchain only"
 	select ADK_arm
 	select ADK_arm
 	select ADK_toolchain_arm
 	select ADK_toolchain_arm
-	select ADK_little
 	select ADK_TARGET_TOOLCHAIN
 	select ADK_TARGET_TOOLCHAIN
 	select ADK_TARGET_PACKAGE_TXZ
 	select ADK_TARGET_PACKAGE_TXZ
 	help
 	help

+ 1 - 1
target/config/Config.in.arm.choice

@@ -4,7 +4,7 @@
 choice ADK_TARGET_ARM_CPU_ARCH
 choice ADK_TARGET_ARM_CPU_ARCH
 prompt "CPU architecture"
 prompt "CPU architecture"
 depends on ADK_TARGET_TOOLCHAIN && ADK_LINUX_ARM
 depends on ADK_TARGET_TOOLCHAIN && ADK_LINUX_ARM
-default ADK_CPU_ARMV7
+default ADK_CPU_ARMV7A
 
 
 config ADK_CPU_ARMV5TE
 config ADK_CPU_ARMV5TE
         boolean "armv5te"
         boolean "armv5te"

+ 1 - 0
target/config/Config.in.cpu

@@ -136,6 +136,7 @@ config ADK_TARGET_CPU_ARCH
 	default "armv6" if ADK_LINUX_ARM && ADK_little && ADK_armv6
 	default "armv6" if ADK_LINUX_ARM && ADK_little && ADK_armv6
 	default "armv7a" if ADK_LINUX_ARM && ADK_little && ADK_armv7a
 	default "armv7a" if ADK_LINUX_ARM && ADK_little && ADK_armv7a
 	default "arm" if ADK_LINUX_ARM && ADK_little
 	default "arm" if ADK_LINUX_ARM && ADK_little
+	default "armeb" if ADK_LINUX_ARM && ADK_big
 	default "arc" if ADK_CPU_ARC && ADK_little
 	default "arc" if ADK_CPU_ARC && ADK_little
 	default "arceb" if ADK_CPU_ARC && ADK_big
 	default "arceb" if ADK_CPU_ARC && ADK_big
 	default "avr32" if ADK_CPU_AVR32
 	default "avr32" if ADK_CPU_AVR32

+ 4 - 1
target/config/Config.in.endian.choice

@@ -5,9 +5,12 @@ choice ADK_TARGET_ENDIAN_MODE
 prompt "Target Endianess"
 prompt "Target Endianess"
 depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
 depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
 depends on ADK_LINUX_SH || ADK_LINUX_MIPS || ADK_LINUX_MICROBLAZE \
 depends on ADK_LINUX_SH || ADK_LINUX_MIPS || ADK_LINUX_MICROBLAZE \
-	|| ADK_LINUX_MIPS64 || ADK_LINUX_ARC
+	|| ADK_LINUX_MIPS64 || ADK_LINUX_ARC || ADK_LINUX_ARM
 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
 depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
 depends on !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
 depends on !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
+depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
+depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
+depends on !ADK_TARGET_SYSTEM_QEMU_ARM
 
 
 config ADK_TARGET_LITTLE_ENDIAN
 config ADK_TARGET_LITTLE_ENDIAN
 	boolean "Little endian"
 	boolean "Little endian"