summaryrefslogtreecommitdiff
path: root/target/config/Config.in.endian
blob: 599f878f91e5438f045728fa563eeeb5e5923a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

choice ADK_TARGET_ENDIAN_MODE
prompt "Endianess"
depends on ADK_TARGET_ARCH_ARC \
	|| ADK_TARGET_ARCH_AARCH64 \
	|| ADK_TARGET_ARCH_ARM \
	|| ADK_TARGET_ARCH_C6X \
	|| ADK_TARGET_ARCH_MICROBLAZE \
	|| ADK_TARGET_ARCH_MIPS \
	|| ADK_TARGET_ARCH_MIPS64 \
	|| ADK_TARGET_ARCH_PPC64 \
	|| ADK_TARGET_ARCH_SH \
	|| ADK_TARGET_ARCH_XTENSA

config ADK_TARGET_LITTLE_ENDIAN
	bool "Little endian"
	depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
	depends on !ADK_TARGET_SYSTEM_DRAGINO_MS14S
	depends on !ADK_TARGET_SYSTEM_LINKSYS_NSLU2
	depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
	depends on !ADK_CPU_SH2A

config ADK_TARGET_BIG_ENDIAN
	bool "Big endian"
	depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
	depends on !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
	depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
	depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI2
	depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
	depends on !ADK_TARGET_SYSTEM_QEMU_ARM
	depends on !ADK_TARGET_SYSTEM_QEMU_XTENSA
	depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
	depends on !ADK_TARGET_SYSTEM_KINETIS_K70
	
endchoice

config ADK_TARGET_ENDIAN
	string
	default "little" if ADK_TARGET_LITTLE_ENDIAN
	default "big" if ADK_TARGET_BIG_ENDIAN

config ADK_JFFS2_OPTS
	string
	default "-l" if ADK_TARGET_LITTLE_ENDIAN
	default "-b" if ADK_TARGET_BIG_ENDIAN