From 54b470e7271e0961269a5f24b645f39e5914790b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 12 Nov 2007 16:30:17 +0000 Subject: sdk.bbclass: Set directory structure correctly after staging layout changes git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3130 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/sdk.bbclass | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass index 441da77bd..63f12117e 100644 --- a/meta/classes/sdk.bbclass +++ b/meta/classes/sdk.bbclass @@ -16,12 +16,36 @@ CFLAGS = "${BUILD_CFLAGS}" CXXFLAGS = "${BUILD_CFLAGS}" LDFLAGS = "${BUILD_LDFLAGS}" +# Path prefixes prefix = "${SDK_PREFIX}" exec_prefix = "${prefix}" -base_prefix = "${exec_prefix}" +base_prefix = "${prefix}" + +# Base paths +export base_bindir = "${prefix}/bin" +export base_sbindir = "${prefix}/bin" +export base_libdir = "${prefix}/lib" + +# Architecture independent paths +export datadir = "${prefix}/share" +export sysconfdir = "${prefix}/etc" +export sharedstatedir = "${datadir}/com" +export localstatedir = "${prefix}/var" +export infodir = "${datadir}/info" +export mandir = "${datadir}/man" +export docdir = "${datadir}/doc" +export servicedir = "${prefix}/srv" + +# Architecture dependent paths +export bindir = "${prefix}/bin" +export sbindir = "${prefix}/bin" +export libexecdir = "${prefix}/libexec" +export libdir = "${prefix}/lib" +export includedir = "${prefix}/include" +export oldincludedir = "${prefix}/include" FILES_${PN} = "${prefix}" FILES_${PN}-dbg += "${prefix}/.debug \ ${prefix}/bin/.debug \ - ${prefix}/sbin/.debug \ " + -- cgit v1.2.3