summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/cross.bbclass4
-rw-r--r--classes/native.bbclass19
2 files changed, 4 insertions, 19 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index cb49ef63e6..0f57fe5fd9 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -24,7 +24,7 @@ exec_prefix = "${prefix}"
# Base paths
base_bindir = "${base_prefix}/bin"
-base_sbindir = "${base_prefix}/sbin"
+base_sbindir = "${base_prefix}/bin"
base_libdir = "${base_prefix}/lib"
# Architecture independent paths
@@ -39,7 +39,7 @@ servicedir = "${prefix}/srv"
# Architecture dependent paths
bindir = "${exec_prefix}/bin"
-sbindir = "${exec_prefix}/sbin"
+sbindir = "${exec_prefix}/bin"
libexecdir = "${exec_prefix}/libexec"
libdir = "${exec_prefix}/lib"
includedir = "${exec_prefix}/include"
diff --git a/classes/native.bbclass b/classes/native.bbclass
index edb6d0831c..32bd9dbae2 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -23,21 +23,6 @@ CFLAGS = "${BUILD_CFLAGS}"
CXXFLAGS = "${BUILD_CFLAGS}"
LDFLAGS = "${BUILD_LDFLAGS}"
-bindir = "${exec_prefix}/bin"
-sbindir = "${exec_prefix}/bin"
-libexecdir = "${exec_prefix}/libexec"
-datadir = "${exec_prefix}/share"
-sysconfdir = "${prefix}/etc"
-sharedstatedir = "${prefix}/com"
-localstatedir = "${prefix}/var"
-libdir = "${exec_prefix}/lib"
-includedir = "${exec_prefix}/include"
-oldincludedir = "${exec_prefix}/include"
-infodir = "${prefix}/info"
-mandir = "${prefix}/man"
-docdir = "${prefix}/doc"
-servicedir = "${prefix}/srv"
-
# Path prefixes
base_prefix = "${exec_prefix}"
prefix = "${STAGING_DIR}"
@@ -45,7 +30,7 @@ exec_prefix = "${STAGING_DIR}/${BUILD_ARCH}-${BUILD_OS}"
# Base paths
base_bindir = "${base_prefix}/bin"
-base_sbindir = "${base_prefix}/sbin"
+base_sbindir = "${base_prefix}/bin"
base_libdir = "${base_prefix}/lib"
# Architecture independent paths
@@ -59,7 +44,7 @@ servicedir = "${prefix}/srv"
# Architecture dependent paths
bindir = "${exec_prefix}/bin"
-sbindir = "${exec_prefix}/sbin"
+sbindir = "${exec_prefix}/bin"
libexecdir = "${exec_prefix}/libexec"
libdir = "${exec_prefix}/lib"
includedir = "${exec_prefix}/include"