diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-12 16:30:17 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-12 16:30:17 +0000 |
commit | 54b470e7271e0961269a5f24b645f39e5914790b (patch) | |
tree | d80a388f1bfa90fe458c993ccf77d7a011f9aa99 /meta | |
parent | 755bf7803826ef1d7139fcd776f342e7c08a9014 (diff) | |
download | poky-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
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sdk.bbclass | 28 |
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}" | |||
16 | CXXFLAGS = "${BUILD_CFLAGS}" | 16 | CXXFLAGS = "${BUILD_CFLAGS}" |
17 | LDFLAGS = "${BUILD_LDFLAGS}" | 17 | LDFLAGS = "${BUILD_LDFLAGS}" |
18 | 18 | ||
19 | # Path prefixes | ||
19 | prefix = "${SDK_PREFIX}" | 20 | prefix = "${SDK_PREFIX}" |
20 | exec_prefix = "${prefix}" | 21 | exec_prefix = "${prefix}" |
21 | base_prefix = "${exec_prefix}" | 22 | base_prefix = "${prefix}" |
23 | |||
24 | # Base paths | ||
25 | export base_bindir = "${prefix}/bin" | ||
26 | export base_sbindir = "${prefix}/bin" | ||
27 | export base_libdir = "${prefix}/lib" | ||
28 | |||
29 | # Architecture independent paths | ||
30 | export datadir = "${prefix}/share" | ||
31 | export sysconfdir = "${prefix}/etc" | ||
32 | export sharedstatedir = "${datadir}/com" | ||
33 | export localstatedir = "${prefix}/var" | ||
34 | export infodir = "${datadir}/info" | ||
35 | export mandir = "${datadir}/man" | ||
36 | export docdir = "${datadir}/doc" | ||
37 | export servicedir = "${prefix}/srv" | ||
38 | |||
39 | # Architecture dependent paths | ||
40 | export bindir = "${prefix}/bin" | ||
41 | export sbindir = "${prefix}/bin" | ||
42 | export libexecdir = "${prefix}/libexec" | ||
43 | export libdir = "${prefix}/lib" | ||
44 | export includedir = "${prefix}/include" | ||
45 | export oldincludedir = "${prefix}/include" | ||
22 | 46 | ||
23 | FILES_${PN} = "${prefix}" | 47 | FILES_${PN} = "${prefix}" |
24 | FILES_${PN}-dbg += "${prefix}/.debug \ | 48 | FILES_${PN}-dbg += "${prefix}/.debug \ |
25 | ${prefix}/bin/.debug \ | 49 | ${prefix}/bin/.debug \ |
26 | ${prefix}/sbin/.debug \ | ||
27 | " | 50 | " |
51 | |||