From: Chris Larson Date: Wed, 3 Nov 2004 04:38:27 +0000 (+0000) Subject: Set bindir and sbindir in cross.oeclass, which should unbork the module-init-tools... X-Git-Tag: Release-2010-05/1~16407 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9cc871719e304e5b8393250ce0f21950e40c4ed;p=openembedded.git Set bindir and sbindir in cross.oeclass, which should unbork the module-init-tools-cross build. BKrev: 418860c3a486_QIT_d20xhzvaGWcwQ --- 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 () { + : +}