summaryrefslogtreecommitdiff
path: root/recipes/kexec-tools/kexec-tools-klibc-static_2.0.1.bb
blob: 1c2327f82e5cde5d0b4a79634de42be3c194fbf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# the binaries are statical linked against klibc
require kexec-tools2.inc

DEFAULT_PREFERENCE = "1"

PR = "r3"
DEPENDS = "klibc"

SRC_URI += "file://kexec-tools-2-headers.patch;patch=1 \
	    file://kexec-tools-2-klibc.patch;patch=1 \
	    "

S = "${WORKDIR}/kexec-tools-${PV}"

EXTRA_OECONF = " --without-zlib"

export CC=${TARGET_PREFIX}klcc

PACKAGES =+ "kexec-klibc-static kdump-klibc-static"

FILES_kexec-klibc-static = "${sbindir}/kexec"
FILES_kdump-klibc-static = "${sbindir}/kdump"