From 2f3b263cc95d23152d900c7cd1aa63e9835e643c Mon Sep 17 00:00:00 2001 From: Carl George Date: Jun 16 2020 19:28:14 +0000 Subject: Allow for building on armhfp --- diff --git a/SPECS/kexec-tools.spec b/SPECS/kexec-tools.spec index 1d69e85..8df9093 100644 --- a/SPECS/kexec-tools.spec +++ b/SPECS/kexec-tools.spec @@ -173,7 +173,7 @@ cp %{SOURCE28} . cp %{SOURCE31} . make -%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 +%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 %{arm} make -C eppic/libeppic make -C makedumpfile-1.6.7 LINKTYPE=dynamic USELZO=on USESNAPPY=on make -C makedumpfile-1.6.7 LDFLAGS="$LDFLAGS -I../eppic/libeppic -L../eppic/libeppic" eppic_makedumpfile.so @@ -226,7 +226,7 @@ install -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_mandir}/man5/kdump.conf.5 install -m 644 %{SOURCE16} $RPM_BUILD_ROOT%{_unitdir}/kdump.service install -m 755 -D %{SOURCE22} $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-generators/kdump-dep-generator.sh -%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 +%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 %{arm} install -m 755 makedumpfile-1.6.7/makedumpfile $RPM_BUILD_ROOT/usr/sbin/makedumpfile install -m 644 makedumpfile-1.6.7/makedumpfile.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/makedumpfile.8.gz install -m 644 makedumpfile-1.6.7/makedumpfile.conf.5.gz $RPM_BUILD_ROOT/%{_mandir}/man5/makedumpfile.conf.5.gz @@ -339,7 +339,7 @@ done %{_bindir}/* %{_datadir}/kdump %{_prefix}/lib/kdump -%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 +%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 %{arm} %{_sysconfdir}/makedumpfile.conf.sample %endif %config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump @@ -367,7 +367,7 @@ done %doc supported-kdump-targets.txt %doc kdump-in-cluster-environment.txt %doc live-image-kdump-howto.txt -%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 +%ifarch %{ix86} x86_64 ppc64 s390x ppc64le aarch64 %{arm} %{_libdir}/eppic_makedumpfile.so /usr/share/makedumpfile/ %endif