Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= syslinux
  5. PKG_VERSION:= 6.02
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1df6ff6e4a82b9d7d71a9e7cb5851a5f
  8. PKG_DESCR:= lightweight bootloaders
  9. PKG_SECTION:= boot
  10. HOST_BUILDDEP:= nasm-host
  11. PKG_URL:= http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
  12. PKG_SITES:= http://www.kernel.org/pub/linux/utils/boot/syslinux/
  13. PKG_CFLINE_SYSLINUX:= depends on ADK_HOST_ONLY
  14. include $(TOPDIR)/mk/host.mk
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,SYSLINUX,syslinux,$(PKG_VERSION)-${PKG_RELEASE}))
  17. HOST_STYLE:= manual
  18. HOST_ALL_TARGET:= bios installer
  19. host-build:
  20. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  21. ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
  22. syslinux-hostinstall:
  23. $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
  24. $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/share/syslinux
  25. $(CP) $(WRKBUILD)/bios/core/isolinux.bin \
  26. $(STAGING_HOST_DIR)/usr/share/syslinux
  27. $(CP) $(WRKBUILD)/bios/com32/elflink/ldlinux/ldlinux.c32 \
  28. $(STAGING_HOST_DIR)/usr/share/syslinux
  29. include ${TOPDIR}/mk/host-bottom.mk
  30. include ${TOPDIR}/mk/pkg-bottom.mk