diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2013-05-29 10:09:48 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-29 22:19:54 +0100 |
commit | 4eb49c00a18da3fef46b6d925a3d49cbefc29aa6 (patch) | |
tree | 87a14e45fa00679fbcd9c26fe9c46503e11d27ca /meta/recipes-core | |
parent | 7dcb4452f38931114b11df15de8b0ab7e05f319e (diff) | |
download | poky-4eb49c00a18da3fef46b6d925a3d49cbefc29aa6.tar.gz |
util-linux: Add ability to compile with nativesdk
Some of the tools in the util-linux are used for disk and text file
operations in the nativesdk so as to get around different versions
that may exist on the host system.
(From OE-Core rev: 2348ce4fccf0ec4f3bc7aacf953eb03dfac0642a)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 5 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.23.bb | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index b4e64b5aaf..0ada1a5ade 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -20,6 +20,7 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=679af3e410ee112a5ec94de6501bf5c3 | |||
20 | inherit autotools gettext pkgconfig systemd | 20 | inherit autotools gettext pkgconfig systemd |
21 | DEPENDS = "zlib ncurses" | 21 | DEPENDS = "zlib ncurses" |
22 | DEPENDS_append_class-native = " lzo-native" | 22 | DEPENDS_append_class-native = " lzo-native" |
23 | DEPENDS_append_class-nativesdk = " lzo-native" | ||
23 | 24 | ||
24 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2 \ | 25 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2 \ |
25 | file://MCONFIG \ | 26 | file://MCONFIG \ |
@@ -94,7 +95,9 @@ RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup" | |||
94 | RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs " | 95 | RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs " |
95 | 96 | ||
96 | RRECOMMENDS_${PN}_class-native = "" | 97 | RRECOMMENDS_${PN}_class-native = "" |
98 | RRECOMMENDS_${PN}_class-nativesdk = "" | ||
97 | RDEPENDS_${PN}_class-native = "" | 99 | RDEPENDS_${PN}_class-native = "" |
100 | RDEPENDS_${PN}_class-nativesdk = "" | ||
98 | 101 | ||
99 | SYSTEMD_PACKAGES = "${PN}-uuidd" | 102 | SYSTEMD_PACKAGES = "${PN}-uuidd" |
100 | SYSTEMD_SERVICE_${PN}-uuidd = "uuidd.service" | 103 | SYSTEMD_SERVICE_${PN}-uuidd = "uuidd.service" |
@@ -214,4 +217,4 @@ ALTERNATIVE_util-linux-reset = "reset" | |||
214 | ALTERNATIVE_LINK_NAME[reset] = "${bindir}/reset" | 217 | ALTERNATIVE_LINK_NAME[reset] = "${bindir}/reset" |
215 | ALTERNATIVE_TARGET[reset] = "${base_bindir}/reset" | 218 | ALTERNATIVE_TARGET[reset] = "${base_bindir}/reset" |
216 | 219 | ||
217 | BBCLASSEXTEND = "native" | 220 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-core/util-linux/util-linux_2.23.bb b/meta/recipes-core/util-linux/util-linux_2.23.bb index d80b382f67..5d9a8dc009 100644 --- a/meta/recipes-core/util-linux/util-linux_2.23.bb +++ b/meta/recipes-core/util-linux/util-linux_2.23.bb | |||
@@ -16,3 +16,4 @@ SRC_URI[sha256sum] = "19ee024b4c6678eaa928d38edc011c332b088e0ff06239575f6b7e00a1 | |||
16 | 16 | ||
17 | CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=as" | 17 | CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=as" |
18 | EXTRA_OECONF_class-native += "--disable-fallocate --disable-use-tty-group" | 18 | EXTRA_OECONF_class-native += "--disable-fallocate --disable-use-tty-group" |
19 | EXTRA_OECONF_class-nativesdk += "--disable-fallocate --disable-use-tty-group" | ||