summaryrefslogtreecommitdiffstats
path: root/meta/packages/syslinux/syslinux.inc
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew@openedhand.com>2008-10-20 00:22:07 +0000
committerAndrzej Zaborowski <andrew@openedhand.com>2008-10-20 00:22:07 +0000
commit3f93ed6bce12da9ece86e3f965e4e667b22fb306 (patch)
tree3d059c6ebe00f5d19590c4e660696dfc7c0964bd /meta/packages/syslinux/syslinux.inc
parent4cb659823ba8f8631d623a870695c79ba352a6ad (diff)
downloadpoky-3f93ed6bce12da9ece86e3f965e4e667b22fb306.tar.gz
syslinux-native: Try to make syslinux cross-compile friendly.
We only had one package for building both the bootloader and the installer, i.e. target and host code. It used always the host compiler. Split the package into syslinux and syslinux-installer-native, require both for a cd bootable image. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5539 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/syslinux/syslinux.inc')
-rw-r--r--meta/packages/syslinux/syslinux.inc29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/packages/syslinux/syslinux.inc b/meta/packages/syslinux/syslinux.inc
deleted file mode 100644
index 41be168d12..0000000000
--- a/meta/packages/syslinux/syslinux.inc
+++ /dev/null
@@ -1,29 +0,0 @@
1# syslinux-native OE build file
2# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
3# Released under the MIT license (see packages/COPYING)
4
5DESCRIPTION="A multi-purpose linux bootloader"
6HOMEPAGE="http://syslinux.zytor.com/"
7LICENSE="GPL"
8
9# If you really want to run syslinux, you need mtools. We just want the
10# ldlinux.* stuff for now, so skip mtools-native
11DEPENDS="nasm-native"
12
13S="${WORKDIR}/syslinux-${PV}"
14
15
16inherit native
17
18do_stage() {
19 install -d ${STAGING_BINDIR}
20 install -m 755 ${S}/syslinux ${STAGING_BINDIR}
21
22 # When building media, the syslinux binary isn't nearly as useful
23 # as the DOS data files, so we copy those into a special location
24 # for usage during a image build stage
25
26 install -d ${STAGING_DATADIR}/syslinux
27 install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys
28 install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss
29}