summaryrefslogtreecommitdiff
path: root/classes/sdk.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sdk.oeclass')
-rw-r--r--classes/sdk.oeclass16
1 files changed, 16 insertions, 0 deletions
diff --git a/classes/sdk.oeclass b/classes/sdk.oeclass
index e69de29bb2..668a04feaa 100644
--- a/classes/sdk.oeclass
+++ b/classes/sdk.oeclass
@@ -0,0 +1,16 @@
+SDK_NAME = "${TARGET_ARCH}/oe"
+PACKAGE_ARCH = "${BUILD_ARCH}"
+
+HOST_ARCH = "${BUILD_ARCH}"
+HOST_VENDOR = "${BUILD_VENDOR}"
+HOST_OS = "${BUILD_OS}"
+HOST_PREFIX = "${BUILD_PREFIX}"
+HOST_CC_ARCH = "${BUILD_CC_ARCH}"
+
+export CPPFLAGS = "${BUILD_CPPFLAGS}"
+export CFLAGS = "${BUILD_CFLAGS}"
+export CXXFLAGS = "${BUILD_CFLAGS}"
+export LDFLAGS = "${BUILD_LDFLAGS}"
+
+prefix = "/usr/local/${SDK_NAME}"
+exec_prefix = "${prefix}"