Makefile 689 B

123456789101112131415161718192021222324
  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.98
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c0bcf60e524739bb64e3a2d4e3732a59
  8. PKG_SITES:= ftp://alpha.gnu.org/gnu/grub/
  9. include ../rules.mk
  10. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  11. cd $(WRKBUILD) && ./configure --prefix=$(TOPDIR)/bin/tools --disable-nls --disable-efiemu --with-platform=pc
  12. $(MAKE) -C $(WRKBUILD)
  13. touch $@
  14. $(TOPDIR)/bin/tools/bin/grub-install: $(WRKBUILD)/.compiled
  15. $(MAKE) -C $(WRKBUILD) install
  16. install: $(TOPDIR)/bin/tools/bin/grub-install
  17. include $(TOPDIR)/mk/tools.mk