blob: c0c0bfee16a04c1ba101586a1cd77f46758d74ed [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001inherit cross
2
3CLASSOVERRIDE = "class-crosssdk"
Brad Bishop19323692019-04-05 15:28:33 -04004NATIVESDKLIBC ?= "libc-glibc"
5LIBCOVERRIDE = ":${NATIVESDKLIBC}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006MACHINEOVERRIDES = ""
7PACKAGE_ARCH = "${SDK_ARCH}"
8python () {
Brad Bishopa5c52ff2018-11-23 10:55:50 +13009 # set TUNE_PKGARCH to SDK_ARCH
10 d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH'))
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011}
12
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
14
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015# This class encodes staging paths into its scripts data so can only be
16# reused if we manipulate the paths.
17SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}"
18
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019TARGET_ARCH = "${SDK_ARCH}"
20TARGET_VENDOR = "${SDK_VENDOR}"
21TARGET_OS = "${SDK_OS}"
22TARGET_PREFIX = "${SDK_PREFIX}"
23TARGET_CC_ARCH = "${SDK_CC_ARCH}"
24TARGET_LD_ARCH = "${SDK_LD_ARCH}"
25TARGET_AS_ARCH = "${SDK_AS_ARCH}"
Brad Bishopc4ea0752018-11-15 14:30:15 -080026TARGET_CPPFLAGS = ""
27TARGET_CFLAGS = ""
28TARGET_CXXFLAGS = ""
29TARGET_LDFLAGS = ""
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030TARGET_FPU = ""
31
Brad Bishop6e60e8b2018-02-01 10:27:11 -050032
Patrick Williamsc124f4f2015-09-15 14:41:29 -050033target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}"
34target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}"
35target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}"
36target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
37target_exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
38baselib = "lib"
39
40do_populate_sysroot[stamp-extra-info] = ""
41do_packagedata[stamp-extra-info] = ""
42
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050043# Need to force this to ensure consitency across architectures
Patrick Williamsc124f4f2015-09-15 14:41:29 -050044EXTRA_OECONF_GCC_FLOAT = ""
45
46USE_NLS = "no"