summaryrefslogtreecommitdiffstats
path: root/meta/packages/syslinux/syslinux-installer-native_3.36.bb
blob: c304a2d2931f7dba3fd349b79b45914c5633448b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (C) 2004-2006, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

DESCRIPTION = "A multi-purpose linux bootloader"
HOMEPAGE = "http://syslinux.zytor.com/"
LICENSE = "GPL"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 "
DEPENDS = "nasm-native"

S = "${WORKDIR}/syslinux-${PV}"
STAGE_TEMP = "${WORKDIR}/stage_temp"

inherit native

do_compile() {
	oe_runmake installer
}

NATIVE_INSTALL_WORKS = "1"
do_install() {
	install -d ${STAGE_TEMP}
	oe_runmake install INSTALLROOT="${STAGE_TEMP}"

	install -d ${D}${bindir}/
	install -m 755 ${STAGE_TEMP}/usr/bin/syslinux ${D}${bindir}/
	install -m 755 ${STAGE_TEMP}/sbin/extlinux ${D}${bindir}/
}