diff options
Diffstat (limited to 'meta-extras/packages/syslinux/syslinux3.inc')
-rw-r--r-- | meta-extras/packages/syslinux/syslinux3.inc | 21 |
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 @@ | |||
1 | require syslinux.inc | ||
2 | |||
3 | STAGE_TEMP="${WORKDIR}/stage_temp" | ||
4 | |||
5 | do_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 | } | ||