diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-01-04 15:57:13 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-01-04 15:57:13 +0000 |
commit | c365f60cbcfd55c56a5a414cc3951773832da35e (patch) | |
tree | 100378f3fc21a4d8ac9e0bc63c338893ed55e09c /packages/syslinux/syslinux.inc | |
parent | abcb81efda9e55f18e9c782aebd93f067e592be5 (diff) | |
parent | d1b1c754d72fcaf47d9b312450c07ba200c22d8c (diff) |
merge of '2c8930a5e3dfc1e355f0dede8fde6b887e2d33de'
and 'cf2bb56e5f6bd283e65c7bf7c89c86e77dbd1fb0'
Diffstat (limited to 'packages/syslinux/syslinux.inc')
-rw-r--r-- | packages/syslinux/syslinux.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/syslinux/syslinux.inc b/packages/syslinux/syslinux.inc new file mode 100644 index 0000000000..41be168d12 --- /dev/null +++ b/packages/syslinux/syslinux.inc @@ -0,0 +1,29 @@ +# syslinux-native OE build file +# 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" + +# If you really want to run syslinux, you need mtools. We just want the +# ldlinux.* stuff for now, so skip mtools-native +DEPENDS="nasm-native" + +S="${WORKDIR}/syslinux-${PV}" + + +inherit native + +do_stage() { + install -d ${STAGING_BINDIR} + install -m 755 ${S}/syslinux ${STAGING_BINDIR} + + # When building media, the syslinux binary isn't nearly as useful + # as the DOS data files, so we copy those into a special location + # for usage during a image build stage + + install -d ${STAGING_DATADIR}/syslinux + install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys + install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss +} |