summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-12 16:30:17 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-12 16:30:17 +0000
commit54b470e7271e0961269a5f24b645f39e5914790b (patch)
treed80a388f1bfa90fe458c993ccf77d7a011f9aa99
parent755bf7803826ef1d7139fcd776f342e7c08a9014 (diff)
downloadpoky-54b470e7271e0961269a5f24b645f39e5914790b.tar.gz
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
-rw-r--r--meta/classes/sdk.bbclass28
1 files changed, 26 insertions, 2 deletions
diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass
index 441da77bd0..63f12117eb 100644
--- a/meta/classes/sdk.bbclass
+++ b/meta/classes/sdk.bbclass
@@ -16,12 +16,36 @@ CFLAGS = "${BUILD_CFLAGS}"
16CXXFLAGS = "${BUILD_CFLAGS}" 16CXXFLAGS = "${BUILD_CFLAGS}"
17LDFLAGS = "${BUILD_LDFLAGS}" 17LDFLAGS = "${BUILD_LDFLAGS}"
18 18
19# Path prefixes
19prefix = "${SDK_PREFIX}" 20prefix = "${SDK_PREFIX}"
20exec_prefix = "${prefix}" 21exec_prefix = "${prefix}"
21base_prefix = "${exec_prefix}" 22base_prefix = "${prefix}"
23
24# Base paths
25export base_bindir = "${prefix}/bin"
26export base_sbindir = "${prefix}/bin"
27export base_libdir = "${prefix}/lib"
28
29# Architecture independent paths
30export datadir = "${prefix}/share"
31export sysconfdir = "${prefix}/etc"
32export sharedstatedir = "${datadir}/com"
33export localstatedir = "${prefix}/var"
34export infodir = "${datadir}/info"
35export mandir = "${datadir}/man"
36export docdir = "${datadir}/doc"
37export servicedir = "${prefix}/srv"
38
39# Architecture dependent paths
40export bindir = "${prefix}/bin"
41export sbindir = "${prefix}/bin"
42export libexecdir = "${prefix}/libexec"
43export libdir = "${prefix}/lib"
44export includedir = "${prefix}/include"
45export oldincludedir = "${prefix}/include"
22 46
23FILES_${PN} = "${prefix}" 47FILES_${PN} = "${prefix}"
24FILES_${PN}-dbg += "${prefix}/.debug \ 48FILES_${PN}-dbg += "${prefix}/.debug \
25 ${prefix}/bin/.debug \ 49 ${prefix}/bin/.debug \
26 ${prefix}/sbin/.debug \
27 " 50 "
51