diff options
Diffstat (limited to 'packages/kexec/kexec-tools-static_1.101.bb')
-rw-r--r-- | packages/kexec/kexec-tools-static_1.101.bb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/packages/kexec/kexec-tools-static_1.101.bb b/packages/kexec/kexec-tools-static_1.101.bb index ca23917a11..5fa51b2e70 100644 --- a/packages/kexec/kexec-tools-static_1.101.bb +++ b/packages/kexec/kexec-tools-static_1.101.bb @@ -1,10 +1,21 @@ +# the binaries are statical linked against klibc require kexec-tools.inc -PR = "r0" +PR = "r3" +DEPENDS = "klibc" -SRC_URI += "file://kexec-static.patch;patch=1" +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" |