summaryrefslogtreecommitdiffstats
path: root/meta/classes/native.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r--meta/classes/native.bbclass35
1 files changed, 9 insertions, 26 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index de6b6fff42..5da766426f 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -50,32 +50,15 @@ export RANLIB = "${HOST_PREFIX}ranlib"
50export STRIP = "${HOST_PREFIX}strip" 50export STRIP = "${HOST_PREFIX}strip"
51 51
52# Path prefixes 52# Path prefixes
53export base_prefix = "${STAGING_DIR_NATIVE}" 53base_prefix = "${STAGING_DIR_NATIVE}"
54export prefix = "${STAGING_DIR_NATIVE}${layout_prefix}" 54prefix = "${STAGING_DIR_NATIVE}/usr"
55export exec_prefix = "${STAGING_DIR_NATIVE}${layout_exec_prefix}" 55exec_prefix = "${STAGING_DIR_NATIVE}/usr"
56 56
57# Base paths 57# Since we actually install these into situ there is no staging prefix
58export base_bindir = "${STAGING_DIR_NATIVE}${layout_base_bindir}" 58STAGING_DIR_HOST = ""
59export base_sbindir = "${STAGING_DIR_NATIVE}${layout_base_sbindir}" 59STAGING_DIR_TARGET = ""
60export base_libdir = "${STAGING_DIR_NATIVE}${layout_base_libdir}" 60SHLIBSDIR = "${STAGING_DIR_NATIVE}/shlibs"
61 61PKG_CONFIG_DIR = "${libdir}/pkgconfig"
62# Architecture independent paths
63export datadir = "${STAGING_DIR_NATIVE}${layout_datadir}"
64export sysconfdir = "${STAGING_DIR_NATIVE}${layout_sysconfdir}"
65export sharedstatedir = "${STAGING_DIR_NATIVE}${layout_sharedstatedir}"
66export localstatedir = "${STAGING_DIR_NATIVE}${layout_localstatedir}"
67export infodir = "${STAGING_DIR_NATIVE}${layout_infodir}"
68export mandir = "${STAGING_DIR_NATIVE}${layout_mandir}"
69export docdir = "${STAGING_DIR_NATIVE}${layout_docdir}"
70export servicedir = "${STAGING_DIR_NATIVE}${layout_servicedir}"
71
72# Architecture dependent paths
73export bindir = "${STAGING_DIR_NATIVE}${layout_bindir}"
74export sbindir = "${STAGING_DIR_NATIVE}${layout_sbindir}"
75export libexecdir = "${STAGING_DIR_NATIVE}${layout_libexecdir}"
76export libdir = "${STAGING_DIR_NATIVE}${layout_libdir}"
77export includedir = "${STAGING_DIR_NATIVE}${layout_includedir}"
78export oldincludedir = "${STAGING_DIR_NATIVE}${layout_includedir}"
79 62
80# 63#
81# If changing this function, please make sure packaged-staging.bbclass is 64# If changing this function, please make sure packaged-staging.bbclass is