diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-01-27 02:13:32 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-12 08:18:11 -0700 |
commit | 9f210a46bc0feeb726207f0a5c1886449efaf11b (patch) | |
tree | ae4125c25b52c73639d70aaae5aef622e1f6dc67 | |
parent | 4a48bf54842b2392d2feb3f5cd24065a400f1eda (diff) | |
download | openembedded-9f210a46bc0feeb726207f0a5c1886449efaf11b.tar.gz |
util-linux: honour largefile distro feature
do_install on micro-image still broken (${bindir}/hexdump lives in
${usrbindir}/hexdump from util-linux POV. Not fixing these.)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r-- | recipes/util-linux/files/MCONFIG | 1 | ||||
-rw-r--r-- | recipes/util-linux/util-linux.inc | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/recipes/util-linux/files/MCONFIG b/recipes/util-linux/files/MCONFIG index 3fea2c02d7..1e877499b8 100644 --- a/recipes/util-linux/files/MCONFIG +++ b/recipes/util-linux/files/MCONFIG @@ -206,7 +206,6 @@ endif CFLAGS := $(OPT) -I$(LIB) $(WARNFLAGS) \ $(CURSESFLAGS) $(SLANGFLAGS) $(NLSFLAGS) \ - -D_FILE_OFFSET_BITS=64 \ -DSBINDIR=\"$(SBIN_DIR)\" \ -DUSRSBINDIR=\"$(USRSBIN_DIR)\" \ -DLOGDIR=\"$(LOG_DIR)\" \ diff --git a/recipes/util-linux/util-linux.inc b/recipes/util-linux/util-linux.inc index eef46451d8..e1caf80c16 100644 --- a/recipes/util-linux/util-linux.inc +++ b/recipes/util-linux/util-linux.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Util-linux is a suite of essential utilities for any Linux system SECTION = "base" LICENSE = "GPL" DEPENDS = "zlib ncurses" -INC_PR = "r16" +INC_PR = "r17" inherit autotools SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \ @@ -30,6 +30,8 @@ FILES_util-linux-readprofile = "/usr/sbin/readprofile" RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile " RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup" +CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', '-D_FILE_OFFSET_BITS=64', '', d)}" + do_compile () { set -e install ${WORKDIR}/MCONFIG ${S}/MCONFIG |