summaryrefslogtreecommitdiff
path: root/openembedded/classes/native.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/classes/native.bbclass')
-rw-r--r--openembedded/classes/native.bbclass13
1 files changed, 12 insertions, 1 deletions
diff --git a/openembedded/classes/native.bbclass b/openembedded/classes/native.bbclass
index f0a77d6e11..fea8048fe5 100644
--- a/openembedded/classes/native.bbclass
+++ b/openembedded/classes/native.bbclass
@@ -5,7 +5,18 @@ inherit base
EXCLUDE_FROM_WORLD = "1"
PACKAGES = ""
-PACKAGE_ARCH = "native"
+PACKAGE_ARCH = "${BUILD_ARCH}"
+
+# When this class has packaging enabled, setting
+# RPROVIDES becomes unnecessary.
+RPROVIDES = "${PN}"
+
+# Need to resolve package RDEPENDS as well as DEPENDS
+BUILD_ALL_DEPS = "1"
+
+# Break the circular dependency as a result of DEPENDS
+# in package.bbclass
+PACKAGE_DEPENDS = ""
TARGET_ARCH = "${BUILD_ARCH}"
TARGET_OS = "${BUILD_OS}"