diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-17 11:39:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-17 11:47:15 +0000 |
commit | 0c0039048fd97cdd3cf28f9e1c829a716dfd68ea (patch) | |
tree | 553a5ea01d6b62e8af0f81215726d1361193d0a0 /meta/recipes-devtools/opkg-utils | |
parent | 0150e86a7609579cf26f5ef5c6c69b521340218e (diff) | |
download | openembedded-core-contrib-0c0039048fd97cdd3cf28f9e1c829a716dfd68ea.tar.gz |
opkg-utils: Add basic PACKAGECONFIG for python dependencies
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>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils')
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb index 6aa5fb839e1..6a3cf550efa 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" |