diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 22:31:25 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 19:43:26 +0300 |
commit | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (patch) | |
tree | ecb49581a9e41a37943c22cd9ef3f63451b20ee7 /import-layers/yocto-poky/meta/classes/crosssdk.bbclass | |
parent | e18c61205e0234b03697129c20cc69c9b3940efc (diff) | |
download | openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.tar.xz |
yocto-poky: Move to import-layers subdir
We are going to import additional layers, so create a subdir to
hold all of the layers that we import with git-subtree.
Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'import-layers/yocto-poky/meta/classes/crosssdk.bbclass')
-rw-r--r-- | import-layers/yocto-poky/meta/classes/crosssdk.bbclass | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/classes/crosssdk.bbclass b/import-layers/yocto-poky/meta/classes/crosssdk.bbclass new file mode 100644 index 000000000..7315c38f1 --- /dev/null +++ b/import-layers/yocto-poky/meta/classes/crosssdk.bbclass @@ -0,0 +1,36 @@ +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', True)) +} + +STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-${SDKPKGSUFFIX}${SDK_VENDOR}-${SDK_OS}" +STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" + +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_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" |