Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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. # compiled with i486 toolchain, statically linked with uClibc
  5. # cross-compiling is difficult, so provide a binary package
  6. PKG_NAME:= grub-bin
  7. PKG_VERSION:= 1.98
  8. PKG_RELEASE:= 2
  9. PKG_MD5SUM:= 50dbe739776f904c318be05faf1d7ce5
  10. PKG_DESCR:= GRUB2 bootloader (binary package)
  11. PKG_SECTION:= boot
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_URL:= http://www.gnu.org/software/grub
  14. PKG_ARCH_DEPENDS:= x86 x86_64
  15. PKG_CFLINE_GRUB_BIN:= select BUSYBOX_FEATURE_STAT_FORMAT@
  16. PKG_CFLINE_GRUB_BIN+= depends on !ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK && !ADK_TARGET_ROOTFS_INITRAMFS
  17. PKG_DFLT_GRUB_BIN:= y if !ADK_TOOLCHAIN_ONLY && !ADK_TOOLCHAIN_ARCHIVE
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,GRUB_BIN,grub-bin,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. CONFIG_STYLE:= manual
  21. BUILD_STYLE:= manual
  22. INSTALL_STYLE:= manual
  23. do-install:
  24. ${CP} ${WRKBUILD}/* ${IDIR_GRUB_BIN}/
  25. include ${TOPDIR}/mk/pkg-bottom.mk