Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | inherit cross |
| 2 | |
| 3 | CLASSOVERRIDE = "class-crosssdk" |
| 4 | MACHINEOVERRIDES = "" |
| 5 | PACKAGE_ARCH = "${SDK_ARCH}" |
| 6 | python () { |
| 7 | # set TUNE_PKGARCH to SDK_ARCH |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 8 | d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH')) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | } |
| 10 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 11 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" |
| 12 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 13 | # This class encodes staging paths into its scripts data so can only be |
| 14 | # reused if we manipulate the paths. |
| 15 | SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}" |
| 16 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | TARGET_ARCH = "${SDK_ARCH}" |
| 18 | TARGET_VENDOR = "${SDK_VENDOR}" |
| 19 | TARGET_OS = "${SDK_OS}" |
| 20 | TARGET_PREFIX = "${SDK_PREFIX}" |
| 21 | TARGET_CC_ARCH = "${SDK_CC_ARCH}" |
| 22 | TARGET_LD_ARCH = "${SDK_LD_ARCH}" |
| 23 | TARGET_AS_ARCH = "${SDK_AS_ARCH}" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | TARGET_CPPFLAGS = "${BUILD_CPPFLAGS}" |
| 25 | TARGET_CFLAGS = "${BUILD_CFLAGS}" |
| 26 | TARGET_CXXFLAGS = "${BUILD_CXXFLAGS}" |
| 27 | TARGET_LDFLAGS = "${BUILD_LDFLAGS}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | TARGET_FPU = "" |
| 29 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 30 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}" |
| 32 | target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}" |
| 33 | target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}" |
| 34 | target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
| 35 | target_exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" |
| 36 | baselib = "lib" |
| 37 | |
| 38 | do_populate_sysroot[stamp-extra-info] = "" |
| 39 | do_packagedata[stamp-extra-info] = "" |
| 40 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 41 | # Need to force this to ensure consitency across architectures |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 42 | EXTRA_OECONF_GCC_FLOAT = "" |
| 43 | |
| 44 | USE_NLS = "no" |