summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/util-linux_2.12.oe14
1 files changed, 9 insertions, 5 deletions
diff --git a/util-linux/util-linux_2.12.oe b/util-linux/util-linux_2.12.oe
index 1ca1b67074..3dd537f4f0 100644
--- a/util-linux/util-linux_2.12.oe
+++ b/util-linux/util-linux_2.12.oe
@@ -3,15 +3,19 @@ DEPENDS = "virtual/libc zlib ncurses"
DESCRIPTION = "Util-linux is a suite of essential \
utilities for any Linux system."
-SRC_URI = "http://ftp.cwi.nl/aeb/util-linux/util-linux-${PV}.tar.gz"
+SRC_URI = "http://ftp.cwi.nl/aeb/util-linux/util-linux-${PV}.tar.gz \
+ file://MCONFIG \
+ file://make_include \
+ file://swapargs.h \
+ file://defines.h"
EXTRA_OEMAKE = ""
do_compile () {
set -e
- install ${FILESDIR}/MCONFIG ${S}/MCONFIG
- install ${FILESDIR}/make_include ${S}/make_include
- install ${FILESDIR}/swapargs.h ${S}/mount/swapargs.h
- install ${FILESDIR}/defines.h ${S}/defines.h
+ install ${WORKDIR}/MCONFIG ${S}/MCONFIG
+ install ${WORKDIR}/make_include ${S}/make_include
+ install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h
+ install ${WORKDIR}/defines.h ${S}/defines.h
oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= \
'OPT=${CFLAGS}' 'CC=${CC}' 'LD=${LD}' \
'LDFLAGS=${LDFLAGS}'