klcc and save 20kb size omitting ggdb3. Bump PR.
# the binaries are statical linked against klibc
require kexec-tools.inc
-PR = "r7"
+PR = "r8"
DEPENDS = "klibc"
SRC_URI += "file://kexec-static.patch;patch=1 \
EXTRA_OECONF = " --without-zlib"
+# reset inherited OE flags to avoid e.g. ggdb3 and keep size small
+export CFLAGS=""
+export CPPFLAGS=""
+export LDFLAGS=""
+
export CC=${TARGET_PREFIX}klcc
PACKAGES =+ "kexec-klibc-static kdump-klibc-static"
DEFAULT_PREFERENCE = "1"
-PR = "r3"
+PR = "r4"
DEPENDS = "klibc"
SRC_URI += "file://kexec-tools-2-headers.patch;patch=1 \
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"