summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/syslinux/syslinux3.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages/syslinux/syslinux3.inc')
-rw-r--r--meta-extras/packages/syslinux/syslinux3.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-extras/packages/syslinux/syslinux3.inc b/meta-extras/packages/syslinux/syslinux3.inc
new file mode 100644
index 0000000000..95124d6160
--- /dev/null
+++ b/meta-extras/packages/syslinux/syslinux3.inc
@@ -0,0 +1,21 @@
1require syslinux.inc
2
3STAGE_TEMP="${WORKDIR}/stage_temp"
4
5do_stage() {
6 install -d ${STAGE_TEMP}
7 oe_runmake install INSTALLROOT="${STAGE_TEMP}"
8
9 install -d ${STAGING_BINDIR}
10 install -m 755 ${STAGE_TEMP}/usr/bin/syslinux ${STAGING_BINDIR}
11 install -m 755 ${STAGE_TEMP}/sbin/extlinux ${STAGING_BINDIR}
12
13 # When building media, the syslinux binary isn't nearly as useful
14 # as the DOS data files, so we copy those into a special location
15 # for usage during a image build stage
16
17 install -d ${STAGING_DATADIR}/syslinux
18 install -m 0644 ${STAGE_TEMP}/usr/lib/syslinux/isolinux.bin ${STAGING_DATADIR}/syslinux/isolinux.bin
19 install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys
20 install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss
21}