derle.sh 682 B

12345678910111213141516171819202122232425262728293031323334
  1. sed 's|GNU/Linux|Linux|' -i "util/grub.d/10_linux.in"
  2. sed -e 's#en@cyrillic en@greek##g' -i "po/LINGUAS"
  3. cp -r "${SRC}/grub-$surum/" ${SRC}/grub-efi
  4. common_conf="--enable-boot-time --enable-device-mapper --enable-cache-stats --enable-nls --enable-grub-mkfont --enable-grub-mount --disable-werror"
  5. unset CFLAGS
  6. unset CPPFLAGS
  7. unset CXXFLAGS
  8. unset LDFLAGS
  9. unset MAKEJOBS
  10. ./configure $confopt \
  11. --with-platform="pc" \
  12. --target="i386" \
  13. --enable-efiemu \
  14. $common_conf
  15. make
  16. cd ${SRC}/grub-efi
  17. unset CFLAGS
  18. unset CPPFLAGS
  19. unset CXXFLAGS
  20. unset LDFLAGS
  21. unset MAKEJOBS
  22. ./autogen.sh
  23. ./configure $confopt \
  24. --with-platform="efi" \
  25. --target="x86_64" \
  26. --disable-efiemu \
  27. $common_conf
  28. make