blob: a3d0e5056289e2e6a94d785b9f7c2939dbfe4c92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "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 \
file://MCONFIG \
file://make_include \
file://swapargs.h \
file://defines.h \
file://my_dev_t.h.diff;patch=1"
EXTRA_OEMAKE = ""
do_compile () {
set -e
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}'
}
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
|