blob: e126a0b3e2db9cfa242341b84677a369522a5af2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
LICENSE = "GPL"
DEPENDS = "virtual/libc zlib ncurses"
SRC_URI := http://ftp.cwi.nl/aeb/util-linux/util-linux-2.12.tar.gz
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
oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= \
'OPT=${CFLAGS}' 'CC=${CC}' 'LD=${LD}' \
'LDFLAGS=${LDFLAGS}'
}
do_install () {
oe_runmake 'DESTDIR=${D}' install
}
|