summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-03 04:38:27 +0000
committerChris Larson <clarson@kergoth.com>2004-11-03 04:38:27 +0000
commitc9cc871719e304e5b8393250ce0f21950e40c4ed (patch)
tree2f50dc18933466ff293086eda4328992161714e8 /classes
parentc10abad1307a334f11d00daa7757791ad9050d1a (diff)
Set bindir and sbindir in cross.oeclass, which should unbork the module-init-tools-cross build.
BKrev: 418860c3a486_QIT_d20xhzvaGWcwQ
Diffstat (limited to 'classes')
-rw-r--r--classes/cross.oeclass25
1 files changed, 25 insertions, 0 deletions
diff --git a/classes/cross.oeclass b/classes/cross.oeclass
index e69de29bb2..1418035102 100644
--- a/classes/cross.oeclass
+++ b/classes/cross.oeclass
@@ -0,0 +1,25 @@
+PACKAGES = ""
+
+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 = "${CROSS_DIR}"
+exec_prefix = "${prefix}"
+bindir = "${prefix}/bin"
+sbindir = "${prefix}/bin"
+
+do_stage () {
+ oe_runmake install
+}
+
+do_install () {
+ :
+}