[oe] [PATCH] cross.bbclass: Override STAGING_* paths to match cross installation

Khem Raj raj.khem at gmail.com
Mon Aug 9 06:44:14 UTC 2010


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 classes/cross.bbclass |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index cf14db1..64f7902 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -50,6 +50,14 @@ exec_prefix = "${prefix}"
 base_sbindir = "${base_prefix}/bin"
 sbindir = "${exec_prefix}/bin"
 
+# staging should be special for cross
+STAGING_BINDIR = "${bindir}"
+STAGING_LIBDIR = "${libdir}"
+STAGING_INCDIR = "${includedir}"
+STAGING_ETCDIR = "${sysconfdir}"
+STAGING_DATADIR = "${datadir}"
+STAGING_SBINDIR = "${sbindir}"
+
 do_install () {
 	oe_runmake 'DESTDIR=${D}' install
 }
-- 
1.7.1





More information about the Openembedded-devel mailing list