summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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