diff options
| -rw-r--r-- | meta/packages/syslinux/syslinux-installer-native_3.36.bb | 11 | ||||
| -rw-r--r-- | meta/packages/syslinux/syslinux_3.36.bb | 29 |
2 files changed, 28 insertions, 12 deletions
diff --git a/meta/packages/syslinux/syslinux-installer-native_3.36.bb b/meta/packages/syslinux/syslinux-installer-native_3.36.bb index ae5b73afac..88bc37a1d3 100644 --- a/meta/packages/syslinux/syslinux-installer-native_3.36.bb +++ b/meta/packages/syslinux/syslinux-installer-native_3.36.bb | |||
| @@ -1,14 +1,13 @@ | |||
| 1 | # syslinux-native OE build file | ||
| 2 | # Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved | 1 | # Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved |
| 3 | # Released under the MIT license (see packages/COPYING) | 2 | # Released under the MIT license (see packages/COPYING) |
| 4 | 3 | ||
| 5 | DESCRIPTION="A multi-purpose linux bootloader" | 4 | DESCRIPTION = "A multi-purpose linux bootloader" |
| 6 | HOMEPAGE="http://syslinux.zytor.com/" | 5 | HOMEPAGE = "http://syslinux.zytor.com/" |
| 7 | LICENSE="GPL" | 6 | LICENSE = "GPL" |
| 8 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " | 7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " |
| 9 | 8 | ||
| 10 | S="${WORKDIR}/syslinux-${PV}" | 9 | S = "${WORKDIR}/syslinux-${PV}" |
| 11 | STAGE_TEMP="${WORKDIR}/stage_temp" | 10 | STAGE_TEMP = "${WORKDIR}/stage_temp" |
| 12 | 11 | ||
| 13 | inherit native | 12 | inherit native |
| 14 | 13 | ||
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 | } | ||
