aboutsummaryrefslogtreecommitdiffstats
path: root/packages/kexec/kexec-tools-static_1.101.bb
blob: e713b46d082ca636bf7424bc09b2378d9ee4e8a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# the binaries are statical linked against klibc
require kexec-tools.inc

FILE_PR = "r4"
DEPENDS = "klibc"

SRC_URI += "file://kexec-klibc.patch;patch=1"
S = "${WORKDIR}/kexec-tools-${PV}"

EXTRA_OECONF = " --without-zlib"

export CC=${TARGET_PREFIX}klcc

# standart oe cflags don't work with klcc
export CFLAGS=""
export CPPFLAGS=""
export LDFLAGS=""

PACKAGES =+ "kexec-static kdump-static"

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