diff options
-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 | |||