|
|
@ -203,12 +203,12 @@ export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2" |
|
|
|
|
|
|
|
|
|
|
|
%configure \ |
|
|
|
%configure \ |
|
|
|
%ifarch ppc64 |
|
|
|
%ifarch ppc64 |
|
|
|
--host=powerpc64-redhat-linux-gnu \ |
|
|
|
--host=powerpc64-powerel-linux-gnu \ |
|
|
|
--build=powerpc64-redhat-linux-gnu \ |
|
|
|
--build=powerpc64-powerel-linux-gnu \ |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%ifarch ppc64le |
|
|
|
%ifarch ppc64le |
|
|
|
--host=powerpc64le-redhat-linux-gnu \ |
|
|
|
--host=powerpc64le-powerel-linux-gnu \ |
|
|
|
--build=powerpc64le-redhat-linux-gnu \ |
|
|
|
--build=powerpc64le-powerel-linux-gnu \ |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
--sbindir=/sbin |
|
|
|
--sbindir=/sbin |
|
|
|
rm -f kexec-tools.spec.in |
|
|
|
rm -f kexec-tools.spec.in |
|
|
@ -359,7 +359,7 @@ touch %{_sysconfdir}/kdump.conf |
|
|
|
MY_ARCH=`uname -m` |
|
|
|
MY_ARCH=`uname -m` |
|
|
|
if [ "$MY_ARCH" == "ia64" ] |
|
|
|
if [ "$MY_ARCH" == "ia64" ] |
|
|
|
then |
|
|
|
then |
|
|
|
IMGDIR=/boot/efi/efi/redhat |
|
|
|
IMGDIR=/boot/efi/efi/powerel |
|
|
|
else |
|
|
|
else |
|
|
|
IMGDIR=/boot |
|
|
|
IMGDIR=/boot |
|
|
|
fi |
|
|
|
fi |
|
|
|