summaryrefslogtreecommitdiffstats
path: root/meta/packages/syslinux/syslinux_3.36.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/syslinux/syslinux_3.36.bb')
-rw-r--r--meta/packages/syslinux/syslinux_3.36.bb29
1 files changed, 23 insertions, 6 deletions
diff --git a/meta/packages/syslinux/syslinux_3.36.bb b/meta/packages/syslinux/syslinux_3.36.bb
index 4458c1f234..42880f4076 100644
--- a/meta/packages/syslinux/syslinux_3.36.bb
+++ b/meta/packages/syslinux/syslinux_3.36.bb
@@ -1,14 +1,31 @@
1DESCRIPTION="A multi-purpose linux bootloader" 1DESCRIPTION = "A multi-purpose linux bootloader"
2HOMEPAGE="http://syslinux.zytor.com/" 2HOMEPAGE = "http://syslinux.zytor.com/"
3LICENSE="GPL" 3LICENSE = "GPL"
4SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " 4SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2"
5PR = "r1"
5 6
6# If you really want to run syslinux, you need mtools. We just want the 7# If you really want to run syslinux, you need mtools. We just want the
7# ldlinux.* stuff for now, so skip mtools-native 8# ldlinux.* stuff for now, so skip mtools-native
8DEPENDS="nasm-native" 9DEPENDS = "nasm-native"
9 10
10S="${WORKDIR}/syslinux-${PV}" 11S = "${WORKDIR}/syslinux-${PV}"
11 12
12do_configure() { 13do_configure() {
13 sed -i ${S}/Makefile ${S}/*/Makefile -e 's/\(CC[\t ]*\)=/\1?=/' 14 sed -i ${S}/Makefile ${S}/*/Makefile -e 's/\(CC[\t ]*\)=/\1?=/'
14} 15}
16
17STAGE_TEMP = "${WORKDIR}/stage_temp"
18
19do_stage() {
20 install -d ${STAGE_TEMP}
21 oe_runmake install INSTALLROOT="${STAGE_TEMP}"
22
23 # When building media, the syslinux binary isn't nearly as useful
24 # as the DOS data files, so we copy those into a special location
25 # for usage during a image build stage
26
27 install -d ${STAGING_DATADIR}/syslinux
28 install -m 0644 ${STAGE_TEMP}/usr/lib/syslinux/isolinux.bin ${STAGING_DATADIR}/syslinux/isolinux.bin
29 install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys
30 install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss
31}