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-19 16:32:11 +0000 |
commit | e612e83012e5364d5cd260542f6eaa70acf04d96 (patch) | |
tree | 47edc83581e7b3ebe670af4374d2cf1520f9fd69 /meta | |
parent | 6e15d32e83ed202f1210589f55da7fb0ee0587af (diff) | |
download | poky-e612e83012e5364d5cd260542f6eaa70acf04d96.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.
(From OE-Core rev: 0c0039048fd97cdd3cf28f9e1c829a716dfd68ea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 6aa5fb839e..6a3cf550ef 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" | |||
16 | 16 | ||
17 | TARGET_CC_ARCH += "${LDFLAGS}" | 17 | TARGET_CC_ARCH += "${LDFLAGS}" |
18 | 18 | ||
19 | PYTHONRDEPS = "python python-shell python-io python-math python-crypt python-logging python-fcntl python-subprocess python-pickle python-compression python-textutils python-stringold" | ||
20 | PYTHONRDEPS_class-native = "" | ||
21 | |||
22 | PACKAGECONFIG = "python" | ||
23 | PACKAGECONFIG[python] = ",,,${PYTHONRDEPS}" | ||
24 | |||
19 | do_install() { | 25 | do_install() { |
20 | oe_runmake PREFIX=${prefix} DESTDIR=${D} install | 26 | oe_runmake PREFIX=${prefix} DESTDIR=${D} install |
21 | } | 27 | } |
@@ -25,9 +31,6 @@ PACKAGES_class-native = "" | |||
25 | 31 | ||
26 | PACKAGES =+ "update-alternatives-opkg" | 32 | PACKAGES =+ "update-alternatives-opkg" |
27 | FILES_update-alternatives-opkg = "${bindir}/update-alternatives" | 33 | FILES_update-alternatives-opkg = "${bindir}/update-alternatives" |
28 | |||
29 | 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" | ||
30 | RDEPENDS_${PN}_class-native = "" | ||
31 | RPROVIDES_update-alternatives-opkg = "update-alternatives" | 34 | RPROVIDES_update-alternatives-opkg = "update-alternatives" |
32 | 35 | ||
33 | BBCLASSEXTEND = "native nativesdk" | 36 | BBCLASSEXTEND = "native nativesdk" |