Makefile 1008 B

1234567891011121314151617181920212223242526272829303132
  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:= 1
  9. PKG_MD5SUM:= 958f9fd415a0bd52fe115176afbf19d9
  10. PKG_DESCR:= GRUB2 bootloader (binary package)
  11. PKG_SECTION:= base
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_TARGET_DEPENDS:= x86 x86_64
  14. CFLINE_GRUB_BIN:= select BUSYBOX_FEATURE_STAT_FORMAT\n\tdepends on !ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK && !ADK_TARGET_ROOTFS_INITRAMFS
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,GRUB_BIN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. PKGDFLT_GRUB_BIN= y
  18. CONFIG_STYLE:= manual
  19. BUILD_STYLE:= manual
  20. INSTALL_STYLE:= manual
  21. do-install:
  22. ${CP} ${WRKBUILD}/* ${IDIR_GRUB_BIN}/
  23. include ${TOPDIR}/mk/pkg-bottom.mk