summaryrefslogtreecommitdiff
path: root/classes/sdk.oeclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-07-22 18:25:32 +0000
committerPhil Blundell <philb@gnu.org>2004-07-22 18:25:32 +0000
commit07e6578448766da33d4fbd4bdc3285d0f1a31b5e (patch)
tree88ac2d21f566696321d7fff44a9da221c8d24e9a /classes/sdk.oeclass
parent198aa8f60b16dcb2d22f2eee225d09cd6e36bbe4 (diff)
don't override CROSS_DIR, only prefix
BKrev: 4100069cPDm8P2E5rYC51H3jytTpwA
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}"