blob: ddb98d22bc1c106086ec930fea09f353dbf0a35d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001inherit cross
2
3CLASSOVERRIDE = "class-crosssdk"
4MACHINEOVERRIDES = ""
5PACKAGE_ARCH = "${SDK_ARCH}"
6python () {
7 # set TUNE_PKGARCH to SDK_ARCH
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008 d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH'))
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009}
10
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
12
Brad Bishop6e60e8b2018-02-01 10:27:11 -050013# This class encodes staging paths into its scripts data so can only be
14# reused if we manipulate the paths.
15SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}"
16
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017TARGET_ARCH = "${SDK_ARCH}"
18TARGET_VENDOR = "${SDK_VENDOR}"
19TARGET_OS = "${SDK_OS}"
20TARGET_PREFIX = "${SDK_PREFIX}"
21TARGET_CC_ARCH = "${SDK_CC_ARCH}"
22TARGET_LD_ARCH = "${SDK_LD_ARCH}"
23TARGET_AS_ARCH = "${SDK_AS_ARCH}"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024TARGET_CPPFLAGS = "${BUILD_CPPFLAGS}"
25TARGET_CFLAGS = "${BUILD_CFLAGS}"
26TARGET_CXXFLAGS = "${BUILD_CXXFLAGS}"
27TARGET_LDFLAGS = "${BUILD_LDFLAGS}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028TARGET_FPU = ""
29
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}"
32target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}"
33target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}"
34target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
35target_exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
36baselib = "lib"
37
38do_populate_sysroot[stamp-extra-info] = ""
39do_packagedata[stamp-extra-info] = ""
40
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050041# Need to force this to ensure consitency across architectures
Patrick Williamsc124f4f2015-09-15 14:41:29 -050042EXTRA_OECONF_GCC_FLOAT = ""
43
44USE_NLS = "no"