summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-16 23:09:44 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:24:36 +0100
commitaf85ce4b4e675feb5796f87137c86d70c2f15b9a (patch)
treef19dbb9bcf1eec671b26685458f7cc47ebb3721e /meta/classes/cross.bbclass
parent046ae6a38d829048663fe1afb1f67de1fbe2e3b5 (diff)
downloadpoky-af85ce4b4e675feb5796f87137c86d70c2f15b9a.tar.gz
Remove layout_* variables
Remove layout_* variables and replace them with variables specific to the different classes. The layout variables were only useful for the native/cross classes and caused more confusion than they solved. They didn't scale to the sdk class. It now clear a small set of native/cross variables fulfil the needs. This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes sense since we're installing binaries into the locations we're compiling them for. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r--meta/classes/cross.bbclass25
1 files changed, 1 insertions, 24 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 9dddca127a..1eaee14342 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -26,34 +26,11 @@ LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}"
26TOOLCHAIN_OPTIONS = "" 26TOOLCHAIN_OPTIONS = ""
27 27
28# Overrides for paths 28# Overrides for paths
29
30# Path prefixes
31base_prefix = "${exec_prefix}"
32prefix = "${CROSS_DIR}" 29prefix = "${CROSS_DIR}"
30base_prefix = "${prefix}"
33exec_prefix = "${prefix}" 31exec_prefix = "${prefix}"
34
35# Base paths
36base_bindir = "${base_prefix}/bin"
37base_sbindir = "${base_prefix}/bin" 32base_sbindir = "${base_prefix}/bin"
38base_libdir = "${base_prefix}/lib"
39
40# Architecture independent paths
41datadir = "${prefix}/share"
42sysconfdir = "${prefix}/etc"
43sharedstatedir = "${prefix}/com"
44localstatedir = "${prefix}/var"
45infodir = "${datadir}/info"
46mandir = "${datadir}/man"
47docdir = "${datadir}/doc"
48servicedir = "${prefix}/srv"
49
50# Architecture dependent paths
51bindir = "${exec_prefix}/bin"
52sbindir = "${exec_prefix}/bin" 33sbindir = "${exec_prefix}/bin"
53libexecdir = "${exec_prefix}/libexec"
54libdir = "${exec_prefix}/lib"
55includedir = "${exec_prefix}/include"
56oldincludedir = "${exec_prefix}/include"
57 34
58do_stage () { 35do_stage () {
59 oe_runmake install 36 oe_runmake install