blob: bbd1753af09f9165857dca164eb7ea077611b311 (
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
29
30
|
# the binaries are statical linked against klibc
require kexec-tools2.inc
DEFAULT_PREFERENCE = "1"
PR = "r4"
DEPENDS = "klibc"
SRC_URI += "file://kexec-tools-2-headers.patch \
file://kexec-tools-2-klibc.patch \
"
S = "${WORKDIR}/kexec-tools-${PV}"
EXTRA_OECONF = " --without-zlib"
export CC=${TARGET_PREFIX}klcc
# reset inherited OE flags to avoid e.g. ggdb3 and keep size small
export CFLAGS=""
export CPPFLAGS=""
export LDFLAGS=""
PACKAGES =+ "kexec-klibc-static kdump-klibc-static"
FILES_kexec-klibc-static = "${sbindir}/kexec"
FILES_kdump-klibc-static = "${sbindir}/kdump"
SRC_URI[md5sum] = "a7710a89fb0096002bccc57ab202a874"
SRC_URI[sha256sum] = "95f352870df977271d912b6093f034bd3345e47a157493db96d1047b7654564d"
|