diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-05-02 19:09:15 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-10 09:56:20 +0100 |
commit | 60c1542baba1dcc01f1bef185878a13fe9bce5ed (patch) | |
tree | 07f77b4c8bde1906831c7abba8c2e3721ba5254e | |
parent | 915f491a0857ee1c039b5e74fa08b584df76071a (diff) | |
download | poky-60c1542baba1dcc01f1bef185878a13fe9bce5ed.tar.gz |
syslinux: improve packaging
Usually only parts of syslinux are used by products and thus syslinux
can be greatly reduced in size. This changes does it as:
- syslinux: syslinux binary
- syslinux-extlinux: extlinux binary
- syslinux-mbr: mbr.bin
- syslinux-chain: chain.c32
- syslinux-pxelinux: pxelinux.0
- syslinux-isolinux: isolinux.bin
(From OE-Core rev: a9f35059b4b47cb014cfad0b6930fe59f44430e3)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/syslinux/syslinux_4.03.bb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-devtools/syslinux/syslinux_4.03.bb b/meta/recipes-devtools/syslinux/syslinux_4.03.bb index 05bcb21b38..dc0785e566 100644 --- a/meta/recipes-devtools/syslinux/syslinux_4.03.bb +++ b/meta/recipes-devtools/syslinux/syslinux_4.03.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | |||
7 | # If you really want to run syslinux, you need mtools. We just want the | 7 | # If you really want to run syslinux, you need mtools. We just want the |
8 | # ldlinux.* stuff for now, so skip mtools-native | 8 | # ldlinux.* stuff for now, so skip mtools-native |
9 | DEPENDS = "nasm-native" | 9 | DEPENDS = "nasm-native" |
10 | PR = "r0" | 10 | PR = "r1" |
11 | 11 | ||
12 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 \ | 12 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 \ |
13 | file://cross-build.patch" | 13 | file://cross-build.patch" |
@@ -46,4 +46,14 @@ do_install() { | |||
46 | install -m 644 ${S}/core/ldlinux.bss ${D}${libdir}/syslinux/ | 46 | install -m 644 ${S}/core/ldlinux.bss ${D}${libdir}/syslinux/ |
47 | } | 47 | } |
48 | 48 | ||
49 | PACKAGES =+ "${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux ${PN}-isolinux" | ||
50 | |||
51 | FILES_${PN} = "${bindir}/syslinux" | ||
52 | FILES_${PN}-extlinux = "${sbindir}/extlinux" | ||
53 | FILES_${PN}-mbr = "${libdir}/${PN}/mbr.bin" | ||
54 | FILES_${PN}-chain = "${libdir}/${PN}/chain.c32" | ||
55 | FILES_${PN}-isolinux = "${libdir}/${PN}/isolinux.bin" | ||
56 | FILES_${PN}-pxelinux = "${libdir}/${PN}/pxelinux.0" | ||
57 | FILES_${PN}-dev += "${datadir}/${PN}/com32" | ||
58 | |||
49 | BBCLASSEXTEND = "native" | 59 | BBCLASSEXTEND = "native" |