summaryrefslogtreecommitdiff
path: root/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb')
-rw-r--r--recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb b/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
index 3ee699b1b3..579af3658e 100644
--- a/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
+++ b/recipes/kexec-tools/kexec-tools-klibc-static_1.101.bb
@@ -1,7 +1,7 @@
# 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 \
@@ -11,6 +11,11 @@ S = "${WORKDIR}/kexec-tools-${PV}"
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"