Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= grub
  5. PKG_VERSION:= 1.97.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 66fe18cd9318e3d67a34d7b7a8e7b1f6
  8. PKG_DESCR:= GRand Unified Bootloader
  9. PKG_SECTION:= base
  10. PKG_URL:= http://www.gnu.org/software/grub
  11. PKG_SITES:= ftp://alpha.gnu.org/gnu/grub/
  12. PKG_HOST_DEPENDS:= linux
  13. PKG_TARGET_DEPENDS:= shuttle wrap alix1c alix2d x86_qemu x86_64_qemu
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,GRUB,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ARGS+= --disable-grub-emu \
  18. --disable-efiemu \
  19. --disable-grub-mkfont \
  20. --disable-grub-fstest
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. post-install:
  24. ${INSTALL_DIR} $(IDIR_GRUB)/usr/{sbin,lib,bin}
  25. ${INSTALL_DIR} $(IDIR_GRUB)/etc
  26. ${CP} ${WRKINST}/etc/grub.d $(IDIR_GRUB)/etc
  27. ${CP} ${WRKINST}/usr/lib/* $(IDIR_GRUB)/usr/lib
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/* $(IDIR_GRUB)/usr/bin
  29. ${INSTALL_BIN} ${WRKINST}/usr/sbin/* $(IDIR_GRUB)/usr/sbin
  30. include ${TOPDIR}/mk/pkg-bottom.mk