diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /poky/meta/classes/crosssdk.bbclass | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/meta/classes/crosssdk.bbclass')
-rw-r--r-- | poky/meta/classes/crosssdk.bbclass | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/poky/meta/classes/crosssdk.bbclass b/poky/meta/classes/crosssdk.bbclass new file mode 100644 index 0000000000..ddb98d22bc --- /dev/null +++ b/poky/meta/classes/crosssdk.bbclass @@ -0,0 +1,44 @@ +inherit cross + +CLASSOVERRIDE = "class-crosssdk" +MACHINEOVERRIDES = "" +PACKAGE_ARCH = "${SDK_ARCH}" +python () { + # set TUNE_PKGARCH to SDK_ARCH + d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH')) +} + +STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" + +# This class encodes staging paths into its scripts data so can only be +# reused if we manipulate the paths. +SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}" + +TARGET_ARCH = "${SDK_ARCH}" +TARGET_VENDOR = "${SDK_VENDOR}" +TARGET_OS = "${SDK_OS}" +TARGET_PREFIX = "${SDK_PREFIX}" +TARGET_CC_ARCH = "${SDK_CC_ARCH}" +TARGET_LD_ARCH = "${SDK_LD_ARCH}" +TARGET_AS_ARCH = "${SDK_AS_ARCH}" +TARGET_CPPFLAGS = "${BUILD_CPPFLAGS}" +TARGET_CFLAGS = "${BUILD_CFLAGS}" +TARGET_CXXFLAGS = "${BUILD_CXXFLAGS}" +TARGET_LDFLAGS = "${BUILD_LDFLAGS}" +TARGET_FPU = "" + + +target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}" +target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}" +target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}" +target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" +target_exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" +baselib = "lib" + +do_populate_sysroot[stamp-extra-info] = "" +do_packagedata[stamp-extra-info] = "" + +# Need to force this to ensure consitency across architectures +EXTRA_OECONF_GCC_FLOAT = "" + +USE_NLS = "no" |