mknetdir support for ieee1275

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-06-26 17:28:19 +02:00
parent a8fae12c5b
commit b1f9b7249a

View file

@ -196,11 +196,17 @@ process_input_dir ()
config_opt="-c ${grubdir}/load.cfg " config_opt="-c ${grubdir}/load.cfg "
fi fi
prefix="/${subdir}/${platform}";
case "${platform}" in case "${platform}" in
i386-pc) mkimage_target=i386-pc-pxe; i386-pc) mkimage_target=i386-pc-pxe;
netmodules="pxe"; netmodules="pxe";
prefix="(pxe)/${subdir}/${platform}";
ext=0 ;; ext=0 ;;
sparc64-ieee1275) mkimage_target=sparc64-ieee1275-aout;
netmodules="";
ext=img ;;
*-ieee1275) mkimage_target="${platform}";
netmodules="";
ext=elf ;;
*) echo Unsupported platform ${platform}; *) echo Unsupported platform ${platform};
exit 1;; exit 1;;
esac esac