diff options
author | Richard Purdie <richard@openedhand.com> | 2007-10-11 21:40:26 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-10-11 21:40:26 +0000 |
commit | feb7067476a59ceebe3a30ca35dee2e793a13aa9 (patch) | |
tree | ebeb042f65f9a42c6444f2a968326cb6041c19aa /meta/packages/syslinux/syslinux.inc | |
parent | 8eec39221db38df319874d2b55532dff217c4b1c (diff) | |
download | poky-feb7067476a59ceebe3a30ca35dee2e793a13aa9.tar.gz |
syslinux, nasm: Move from meta-extras to meta
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2864 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/syslinux/syslinux.inc')
-rw-r--r-- | meta/packages/syslinux/syslinux.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/syslinux/syslinux.inc b/meta/packages/syslinux/syslinux.inc new file mode 100644 index 0000000000..41be168d12 --- /dev/null +++ b/meta/packages/syslinux/syslinux.inc | |||
@@ -0,0 +1,29 @@ | |||
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 | |||
5 | DESCRIPTION="A multi-purpose linux bootloader" | ||
6 | HOMEPAGE="http://syslinux.zytor.com/" | ||
7 | LICENSE="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 | ||
11 | DEPENDS="nasm-native" | ||
12 | |||
13 | S="${WORKDIR}/syslinux-${PV}" | ||
14 | |||
15 | |||
16 | inherit native | ||
17 | |||
18 | do_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 | } | ||