diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-16 23:09:44 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-17 22:24:36 +0100 |
commit | af85ce4b4e675feb5796f87137c86d70c2f15b9a (patch) | |
tree | f19dbb9bcf1eec671b26685458f7cc47ebb3721e /meta/classes/cross.bbclass | |
parent | 046ae6a38d829048663fe1afb1f67de1fbe2e3b5 (diff) | |
download | poky-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.bbclass | 25 |
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}" | |||
26 | TOOLCHAIN_OPTIONS = "" | 26 | TOOLCHAIN_OPTIONS = "" |
27 | 27 | ||
28 | # Overrides for paths | 28 | # Overrides for paths |
29 | |||
30 | # Path prefixes | ||
31 | base_prefix = "${exec_prefix}" | ||
32 | prefix = "${CROSS_DIR}" | 29 | prefix = "${CROSS_DIR}" |
30 | base_prefix = "${prefix}" | ||
33 | exec_prefix = "${prefix}" | 31 | exec_prefix = "${prefix}" |
34 | |||
35 | # Base paths | ||
36 | base_bindir = "${base_prefix}/bin" | ||
37 | base_sbindir = "${base_prefix}/bin" | 32 | base_sbindir = "${base_prefix}/bin" |
38 | base_libdir = "${base_prefix}/lib" | ||
39 | |||
40 | # Architecture independent paths | ||
41 | datadir = "${prefix}/share" | ||
42 | sysconfdir = "${prefix}/etc" | ||
43 | sharedstatedir = "${prefix}/com" | ||
44 | localstatedir = "${prefix}/var" | ||
45 | infodir = "${datadir}/info" | ||
46 | mandir = "${datadir}/man" | ||
47 | docdir = "${datadir}/doc" | ||
48 | servicedir = "${prefix}/srv" | ||
49 | |||
50 | # Architecture dependent paths | ||
51 | bindir = "${exec_prefix}/bin" | ||
52 | sbindir = "${exec_prefix}/bin" | 33 | sbindir = "${exec_prefix}/bin" |
53 | libexecdir = "${exec_prefix}/libexec" | ||
54 | libdir = "${exec_prefix}/lib" | ||
55 | includedir = "${exec_prefix}/include" | ||
56 | oldincludedir = "${exec_prefix}/include" | ||
57 | 34 | ||
58 | do_stage () { | 35 | do_stage () { |
59 | oe_runmake install | 36 | oe_runmake install |