* [PATCH] opkg-utils: Add basic PACKAGECONFIG for python dependencies
@ 2014-01-17 11:39 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-01-17 11:39 UTC (permalink / raw)
To: openembedded-core
In small configurations its useful not to have python dependencies. This
patch adds code to disable those using PACKAGECONFIG. This allows us to
fix poky-tiny after the recent move of update-alternatives to opkg-utils.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 6aa5fb8..6a3cf55 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -16,6 +16,12 @@ S = "${WORKDIR}/git"
TARGET_CC_ARCH += "${LDFLAGS}"
+PYTHONRDEPS = "python python-shell python-io python-math python-crypt python-logging python-fcntl python-subprocess python-pickle python-compression python-textutils python-stringold"
+PYTHONRDEPS_class-native = ""
+
+PACKAGECONFIG = "python"
+PACKAGECONFIG[python] = ",,,${PYTHONRDEPS}"
+
do_install() {
oe_runmake PREFIX=${prefix} DESTDIR=${D} install
}
@@ -25,9 +31,6 @@ PACKAGES_class-native = ""
PACKAGES =+ "update-alternatives-opkg"
FILES_update-alternatives-opkg = "${bindir}/update-alternatives"
-
-RDEPENDS_${PN} = "python python-shell python-io python-math python-crypt python-logging python-fcntl python-subprocess python-pickle python-compression python-textutils python-stringold"
-RDEPENDS_${PN}_class-native = ""
RPROVIDES_update-alternatives-opkg = "update-alternatives"
BBCLASSEXTEND = "native nativesdk"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-17 11:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 11:39 [PATCH] opkg-utils: Add basic PACKAGECONFIG for python dependencies Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox