binutils: update to 2.43.1
[openadk.git] / package / syslinux / Makefile
blob12a8c5d9ef894db1560ebd7f0eafc93ce056f732
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= syslinux
7 PKG_VERSION:= 6.02
8 PKG_RELEASE:= 1
9 PKG_HASH:= afa31b7cbf72e1c0c1752a0636ba724ce01c0e374366e46e61db6862b4685478
10 PKG_DESCR:= lightweight bootloaders
11 PKG_SECTION:= base/boot
12 HOST_BUILDDEP:= nasm-host
13 PKG_URL:= http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
14 PKG_SITES:= http://www.kernel.org/pub/linux/utils/boot/syslinux/
16 PKG_SUBPKGS:= PXELINUX
17 PKGSD_PXELINUX:= pxelinux
19 include $(ADK_TOPDIR)/mk/host.mk
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call HOST_template,SYSLINUX,syslinux,$(PKG_VERSION)-${PKG_RELEASE}))
23 $(eval $(call PKG_template,PXELINUX,pxelinux,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 HOST_STYLE:= manual
26 HOST_ALL_TARGET:= bios installer
27 CONFIG_STYLE:= manual
28 BUILD_STYLE:= manual
29 INSTALL_STYLE:= manual
31 host-build:
32 (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
33 ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
35 syslinux-hostinstall:
36 $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
37 $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/share/syslinux
38 $(CP) $(WRKBUILD)/bios/core/isolinux.bin \
39 $(STAGING_HOST_DIR)/usr/share/syslinux
40 $(CP) $(WRKBUILD)/bios/com32/elflink/ldlinux/ldlinux.c32 \
41 $(STAGING_HOST_DIR)/usr/share/syslinux
43 pxelinux-install:
44 $(INSTALL_DIR) ${IDIR_PXELINUX}/tftpboot/pxelinux.cfg
45 $(CP) $(WRKBUILD)/bios/core/pxelinux.0 \
46 ${IDIR_PXELINUX}/tftpboot
47 $(CP) $(WRKBUILD)/bios/com32/elflink/ldlinux/ldlinux.c32 \
48 ${IDIR_PXELINUX}/tftpboot
49 $(CP) ./files/default ${IDIR_PXELINUX}/tftpboot/pxelinux.cfg
51 include ${ADK_TOPDIR}/mk/host-bottom.mk
52 include ${ADK_TOPDIR}/mk/pkg-bottom.mk