diff options
Diffstat (limited to 'meta/packages/syslinux/syslinux_3.36.bb')
-rw-r--r-- | meta/packages/syslinux/syslinux_3.36.bb | 29 |
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 @@ | |||
1 | DESCRIPTION="A multi-purpose linux bootloader" | 1 | DESCRIPTION = "A multi-purpose linux bootloader" |
2 | HOMEPAGE="http://syslinux.zytor.com/" | 2 | HOMEPAGE = "http://syslinux.zytor.com/" |
3 | LICENSE="GPL" | 3 | LICENSE = "GPL" |
4 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " | 4 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2" |
5 | PR = "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 |
8 | DEPENDS="nasm-native" | 9 | DEPENDS = "nasm-native" |
9 | 10 | ||
10 | S="${WORKDIR}/syslinux-${PV}" | 11 | S = "${WORKDIR}/syslinux-${PV}" |
11 | 12 | ||
12 | do_configure() { | 13 | do_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 | |||
17 | STAGE_TEMP = "${WORKDIR}/stage_temp" | ||
18 | |||
19 | do_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 | } | ||