summaryrefslogtreecommitdiffstats
path: root/bsp/meta-synopsys/conf/machine/include/arch-arc.inc
blob: 0dce7128a9a1f48e2fcd859550308018d7c1e815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TUNEVALID[bigendian] = "Enable big-endian mode"

TUNE_ARCH = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'arceb', 'arc', d)}"

MACHINE_FEATURES_BACKFILL_CONSIDERED_append = " qemu-usermode"

# In order to use newer/custom Linux version change
# "linux-yocto" below to "linux-arc"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"

# Otherwise huge binaries (>32MiB) might fail to link due to
# limitation of 25-bit R_ARC_S25H_PCREL_PLT relocation
GLIBC_EXTRA_OECONF_arc += " --with-nonshared-cflags=-mlong-calls"

PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_MACHINE = "hsdk_config"
EXTRA_IMAGEDEPENDS += "u-boot"