diff options
| author | Sergey Lapin <slapin@ossfans.org> | 2009-09-04 13:27:50 +0400 |
|---|---|---|
| committer | Sergey Lapin <slapin@ossfans.org> | 2009-09-04 13:27:50 +0400 |
| commit | 43653cf44fc541bd55cb094392444a7faa7bb3be (patch) | |
| tree | e7e3e129d04e8bed53c2ced0e3f9fbd7ceec099a /recipes/syslinux/syslinux_3.82.bb | |
| parent | 5d87cec7a3e962afb7cfa621d172abc3effc085d (diff) | |
| parent | c26fc5db90702b035bd545cff3ee7575a0f9b70f (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/syslinux/syslinux_3.82.bb')
| -rw-r--r-- | recipes/syslinux/syslinux_3.82.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes/syslinux/syslinux_3.82.bb b/recipes/syslinux/syslinux_3.82.bb new file mode 100644 index 0000000000..4c4102e19d --- /dev/null +++ b/recipes/syslinux/syslinux_3.82.bb @@ -0,0 +1,41 @@ +# syslinux OE build file +# Copyright (C) 2009, O.S. Systems Software Ltda. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION = "A multi-purpose linux bootloader" +HOMEPAGE = "http://syslinux.zytor.com/" +LICENSE = "GPL" +DEPENDS = "nasm-native" +RRECOMMENDS_${PN} = "mtools" +PR = "r0" + +SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " + +EXTRA_OEMAKE = " \ + BINDIR=${bindir} SBINDIR=${base_sbindir} LIBDIR=${libdir} \ + DATADIR=${datadir} MANDIR=${mandir} INCDIR=${includedir} \ +" + +do_configure() { + # drop win32 targets or build fails + sed -e 's,win32/\S*,,g' -i Makefile + + # clean installer executables included in source tarball + oe_runmake clean +} + +do_compile() { + # Rebuild only the installer; keep precompiled bootloaders + # as per author's request (doc/distrib.txt) + oe_runmake CC="${CC}" installer +} + +do_install() { + oe_runmake install INSTALLROOT="${D}" +} + +PACKAGES =+ "${PN}-extlinux ${PN}-mbr" +FILES_${PN} = "${bindir}/syslinux" +FILES_${PN}-extlinux = "${base_sbindir}/extlinux" +FILES_${PN}-mbr = "${datadir}/${PN}/mbr.bin" +FILES_${PN}-dev += "${datadir}/${PN}/com32" |
