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
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}))
26 HOST_ALL_TARGET
:= bios installer
29 INSTALL_STYLE
:= manual
32 (cd
${WRKBUILD} && env
${HOST_MAKE_ENV} ${MAKE} -f
${MAKE_FILE} \
33 ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
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
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