diff options
author | Andrzej Zaborowski <andrew@openedhand.com> | 2008-10-20 00:22:07 +0000 |
---|---|---|
committer | Andrzej Zaborowski <andrew@openedhand.com> | 2008-10-20 00:22:07 +0000 |
commit | 3f93ed6bce12da9ece86e3f965e4e667b22fb306 (patch) | |
tree | 3d059c6ebe00f5d19590c4e660696dfc7c0964bd /meta/packages/syslinux/syslinux3.inc | |
parent | 4cb659823ba8f8631d623a870695c79ba352a6ad (diff) | |
download | poky-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/syslinux3.inc')
-rw-r--r-- | meta/packages/syslinux/syslinux3.inc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/packages/syslinux/syslinux3.inc b/meta/packages/syslinux/syslinux3.inc deleted file mode 100644 index 95124d6160..0000000000 --- a/meta/packages/syslinux/syslinux3.inc +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
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 | } | ||