@@ -, +, @@ --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) --- a/configure.ac +++ a/configure.ac @@ -2207,10 +2207,11 @@ AC_DEFINE_UNQUOTED(GRUB_SYSCONFDIR, "$grub_sysconfdir", [Configuration dir]) # Output files. if test "$platform" != none; then - cpudir="${target_cpu}" - if test x${cpudir} = xmipsel; then - cpudir=mips; - fi + case "${target_cpu}" in + mipsel) cpudir=mips ;; + powerpc64) cpudir=powerpc ;; + *) cpudir="${target_cpu}" ;; + esac grub_CHECK_LINK_DIR if test x"$link_dir" = xyes ; then AC_CONFIG_LINKS([include/grub/cpu:include/grub/$cpudir]) --